Go to the source code of this file.
Namespaces | |
FDL | |
Functions | |
getIconMimeArray () | |
getIconMimeFile ($sysmime) | |
getSysMimeFile ($f, $fn="") | |
getTextMimeFile ($f, $fn= '') | |
getExtension ($smime) | |
getFileExtension ($filename) | |
getMimeFile ($filename, $type= 'sys') | |
loadUserMimeConf () | |
loadMimeConf () | |
getPdfNumberOfPages ($file) | |
getExtension | ( | $smime | ) |
get current extension from system mime
Definition at line 220 of file Lib.FileMime.php.
getFileExtension | ( | $filename | ) |
get extension from file name
Definition at line 232 of file Lib.FileMime.php.
getIconMimeArray | ( | ) |
Definition at line 17 of file Lib.FileMime.php.
getIconMimeFile | ( | $sysmime | ) |
getMimeFile | ( | $filename, | |
$type = 'sys' |
|||
) |
get MIME type/text from mime.conf and mime-user.conf files
Definition at line 241 of file Lib.FileMime.php.
getPdfNumberOfPages | ( | $file | ) |
getSysMimeFile | ( | $f, | |
$fn = "" |
|||
) |
return system file mime
string | $f | filename |
string | $fn | basename of file (can be different of real path) return string mime like text/html |
Definition at line 134 of file Lib.FileMime.php.
getTextMimeFile | ( | $f, | |
$fn = '' |
|||
) |
loadMimeConf | ( | ) |
load mime.conf XML file into PHP array
Definition at line 294 of file Lib.FileMime.php.
loadUserMimeConf | ( | ) |
load mime-user.conf XML file into PHP array
Definition at line 260 of file Lib.FileMime.php.