void convertExtensionToMime(
$extension
)
|
|
Parameters:
API Tags:
See: | GalleryCoreApi::convertExtensionToMime |
void convertMimeToExtensions(
$mimeType
)
|
|
Parameters:
API Tags:
See: | GalleryCoreApi::convertMimeToExtensions |
void getMimeType(
$filename, [
$requestMimeType = null]
)
|
|
Parameters:
|
$filename: |
|
|
$requestMimeType: |
|
API Tags:
See: | GalleryCoreApi::getMimeType |
void isViewableMimeType(
$mimeType
)
|
|
Parameters:
API Tags:
See: | GalleryCoreApi::isViewableMimeType |
Clear cached mime type data
API Tags:
Get all mime type data
API Tags:
Return: | GalleryStatus a status code array('by-extension' => array(string extension => string mime type), 'by-mimetype' => array(string mime => array('exts' => array of strings, 'viewable' => boolean))) |
Access: | private |
Singleton that can be cleared.
API Tags:
Staticvar: | array $mimeData: |
Access: | private |