isMediaFile
The isMediaFile function is used for testing whether the given file is an allowed Media File based on the profile's quota.
bool
isMediaFile
(string $file, [string $type = 'audio'], array &$_quot)
-
string
$file: File to test
-
string
$type: Type (can be audio/video/image)
-
array
&$_quot: Quota information for the profile
|