◆ determineFormat()
static determineFormat |
( |
|
$uri, |
|
|
|
$format = null |
|
) |
| |
|
static |
◆ extractExtension()
static extractExtension |
( |
|
$uri | ) |
|
|
static |
◆ getCustomMappers()
static getCustomMappers |
( |
| ) |
|
|
static |
◆ mimeType()
static mimeType |
( |
|
$format | ) |
|
|
static |
◆ registerMapper()
static registerMapper |
( |
|
$mapper_class_name, |
|
|
|
$mime_type, |
|
|
|
$extension |
|
) |
| |
|
static |
◆ selectMapper()
static selectMapper |
( |
|
$uri, |
|
|
|
$format = null |
|
) |
| |
|
static |
Returns a mapper, based on the $uri and $format
- Parameters
-
string | $uri | File URI |
string | $format | File format (extension or mime-type) or null |
- Returns
- mixed
◆ $customMappers
◆ $mappers
◆ $mimeTable
Initial value:= array(
'image/jpg' => 'JPEG',
'image/jpeg' => 'JPEG',
'image/pjpeg' => 'JPEG',
'image/gif' => 'GIF',
'image/png' => 'PNG',
'image/webp' => 'WEBP'
)
The documentation for this class was generated from the following file:
- C:/xoops2511b2/htdocs/class/libraries/vendor/smottt/wideimage/lib/WideImage/MapperFactory.php