Documentation

validateFileType

Interface for fiel type validation function

Table of Contents

isValidType() Must return true, if exext and mime type in $type matches bool

Methods

isValidType()

Must return true, if exext and mime type in $type matches

public static isValidType( $ext : string , $type : string [, $map : array = [] ] ) : bool
Parameters
$ext : string
$type : string
$map : array = []
Return values
bool

Search results