|
eZ Publish
[4.2]
|
The class eZWordToImageOperator does. More...
Public Member Functions | |
| eZWordToImageOperator () | |
| modify ($tpl, $operatorName, $operatorParameters, $rootNamespace, $currentNamespace, &$operatorValue, $namedParameters) | |
| operatorList () | |
Public Attributes | |
| $IconInfo | |
| $Operators | |
Private Member Functions | |
| iconDirectMapping (&$ini, &$themeINI, $iniGroup, $mapName, $matchItem) | |
| iconGroupMapping (&$ini, &$themeINI, $iniGroup, $mapName, $matchItem) | |
The class eZWordToImageOperator does.
Definition at line 39 of file ezwordtoimageoperator.php.
| eZWordToImageOperator::eZWordToImageOperator | ( | ) |
Initializes the object with the name $name, default is "wash".
Definition at line 44 of file ezwordtoimageoperator.php.
| eZWordToImageOperator::iconDirectMapping | ( | &$ | ini, |
| &$ | themeINI, | ||
| $ | iniGroup, | ||
| $ | mapName, | ||
| $ | matchItem | ||
| ) | [private] |
Tries to find icon file by considering $matchItem as a single value.
It will first try to match the whole $matchItem value in the mapping table.
Example
$icon = $this->iconDirectMapping( $ini, $themeINI, 'ClassIcons', 'ClassMap', 'Folder' );
Definition at line 407 of file ezwordtoimageoperator.php.
Referenced by modify().
| eZWordToImageOperator::iconGroupMapping | ( | &$ | ini, |
| &$ | themeINI, | ||
| $ | iniGroup, | ||
| $ | mapName, | ||
| $ | matchItem | ||
| ) | [private] |
Tries to find icon file by considering $matchItem as a group, split into two parts and separated by a slash.
It will first try to match the whole $matchItem value and then the group name.
Example
$icon = $this->iconGroupMapping( $ini, $themeINI, 'MimeIcons', 'MimeMap', 'image/jpeg' );
Definition at line 456 of file ezwordtoimageoperator.php.
Referenced by modify().
| eZWordToImageOperator::modify | ( | $ | tpl, |
| $ | operatorName, | ||
| $ | operatorParameters, | ||
| $ | rootNamespace, | ||
| $ | currentNamespace, | ||
| &$ | operatorValue, | ||
| $ | namedParameters | ||
| ) |
Definition at line 60 of file ezwordtoimageoperator.php.
| eZWordToImageOperator::operatorList | ( | ) |
Returns the template operators.
Definition at line 55 of file ezwordtoimageoperator.php.
| eZWordToImageOperator::$IconInfo |
Definition at line 506 of file ezwordtoimageoperator.php.
| eZWordToImageOperator::$Operators |
Definition at line 505 of file ezwordtoimageoperator.php.