Class

eZImageShellHandler

class eZImageShellHandler extends eZImageHandler

Constants

KEEP_SUFFIX

REPLACE_SUFFIX

PREPEND_TAG_REPLACE_SUFFIX

Properties

$Path
$Executable
$PreParameters
$PostParameters

Methods

__construct(string $handlerName, bool $isEnabled = true, int $outputRewriteType = self::REPLACE_SUFFIX, array|bool $supportedInputMIMETypes = false, array|$supportedOutputMIMETypes $supportedOutputMIMETypes = false, array|bool $conversionRules = false, array|bool $filters = false, array|bool $mimeTagMap = false)

Initializes the image handler with data sent from the inheriting class.

isAvailable()

from eZImageHandler
tagForMIMEType($mimeData)

from eZImageHandler
supportedImageFilters()

from eZImageHandler
conversionRules()

from eZImageHandler
textForFilter($filterData)

from eZImageHandler
rewriteURL($originalMimeData, $destinationMimeData, $rewriteType, $aliasName = false)

from eZImageHandler
supportedInputMIMETypes()

from eZImageHandler
supportedOutputMIMETypes()

from eZImageHandler
isOutputMIMETypeSupported($mimeData)

from eZImageHandler
isInputMIMETypeSupported($mimeData)

from eZImageHandler
outputMIMEType($manager, $currentMimeData, $wantedMimeData, $supportedFormatsOriginal, $aliasName = false)

from eZImageHandler
outputRewriteType()

from eZImageHandler
isFilterSupported($filter)

from eZImageHandler
convert($manager, $sourceMimeData, $destinationMimeData, $filters = false)

Details

at line 20
public __construct(string $handlerName, bool $isEnabled = true, int $outputRewriteType = self::REPLACE_SUFFIX, array|bool $supportedInputMIMETypes = false, array|$supportedOutputMIMETypes $supportedOutputMIMETypes = false, array|bool $conversionRules = false, array|bool $filters = false, array|bool $mimeTagMap = false)

Initializes the image handler with data sent from the inheriting class.

Parameters

string $handlerName The name of the current handler
bool $isEnabled A boolean which tells whether the handler can be used or not
int $outputRewriteType Defines how output filenames are rewritten
array|bool $supportedInputMIMETypes A list of MIME-Types the handler supports as input or \c false if no type as defined
array|$supportedOutputMIMETypes $supportedOutputMIMETypes A list of MIME-Types the handler supports as output or \c false if no type as defined
array|bool $conversionRules A list of conversion rules specific for this handler, is combined with the global rules
array|bool $filters A list of filters this handler supports
array|bool $mimeTagMap A mapping table which maps from a MIME-Type to a specific tag, this tag can be used when rewriting the filename.

in eZImageHandler at line 72
public isAvailable()

in eZImageHandler at line 83
public tagForMIMEType($mimeData)

Parameters

$mimeData

in eZImageHandler at line 98
public supportedImageFilters()

in eZImageHandler at line 106
public conversionRules()

in eZImageHandler at line 154
public textForFilter($filterData)

Parameters

$filterData

in eZImageHandler at line 173
public rewriteURL($originalMimeData, $destinationMimeData, $rewriteType, $aliasName = false)

Parameters

$originalMimeData
$destinationMimeData
$rewriteType
$aliasName

in eZImageHandler at line 222
public supportedInputMIMETypes()

in eZImageHandler at line 233
public supportedOutputMIMETypes()

in eZImageHandler at line 286
public isOutputMIMETypeSupported($mimeData)

Parameters

$mimeData

in eZImageHandler at line 313
public isInputMIMETypeSupported($mimeData)

Parameters

$mimeData

in eZImageHandler at line 347
public outputMIMEType($manager, $currentMimeData, $wantedMimeData, $supportedFormatsOriginal, $aliasName = false)

Parameters

$manager
$currentMimeData
$wantedMimeData
$supportedFormatsOriginal
$aliasName

in eZImageHandler at line 430
public outputRewriteType()

in eZImageHandler at line 438
public isFilterSupported($filter)

Parameters

$filter

at line 39
public convert($manager, $sourceMimeData, $destinationMimeData, $filters = false)

Parameters

$manager
$sourceMimeData
$destinationMimeData
$filters