Definition at line 33 of file MimeTypes.php.
static Xoops\Core\MimeTypes::findExtensions |
( |
|
$type | ) |
|
|
static |
findExtensions - given a mimetype, get array of possible file extensions
- Parameters
-
- Returns
- array of applicable extensions, empty if no match
Definition at line 42 of file MimeTypes.php.
References $type.
static Xoops\Core\MimeTypes::findType |
( |
|
$extension | ) |
|
|
static |
findType - given a file extensions, return applicable mimetype
- Parameters
-
string | $extension | file extension |
- Returns
- string|null applicable mimetype (string) or null if no match
Definition at line 55 of file MimeTypes.php.
The documentation for this class was generated from the following file: