Documentation

validateFileType

Interface for fiel type validation function

Tags
author

Stefan Seehafer sea75300@yahoo.de

copyright

(c) 2020, Stefan Seehafer

license

http://www.gnu.org/licenses/gpl.txt GPLv3

since
4.5

Table of Contents

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

Methods

isValidType()

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

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

Search results