◆ 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
- Paramètres
-
string | $uri | File URI |
string | $format | File format (extension or mime-type) or null |
- Renvoie
- mixed
◆ $customMappers
◆ $mappers
◆ $mimeTable
Valeur initiale := array(
'image/jpg' => 'JPEG',
'image/jpeg' => 'JPEG',
'image/pjpeg' => 'JPEG',
'image/gif' => 'GIF',
'image/png' => 'PNG',
'image/webp' => 'WEBP'
)
La documentation de cette classe a été générée à partir du fichier suivant :
- XoopsCore25-2.5.11-Beta1/htdocs/class/libraries/vendor/smottt/wideimage/lib/WideImage/MapperFactory.php