eZ Publish  [4.2]
eZWordToImageOperator Class Reference

The class eZWordToImageOperator does. More...

List of all members.

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)

Detailed Description

The class eZWordToImageOperator does.

Definition at line 39 of file ezwordtoimageoperator.php.


Member Function Documentation

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.

Returns:
The relative path to the icon file.

Example

     $icon = $this->iconDirectMapping( $ini, $themeINI, 'ClassIcons', 'ClassMap', 'Folder' );
See also:
iconGroupMapping

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.

Returns:
The relative path to the icon file.

Example

     $icon = $this->iconGroupMapping( $ini, $themeINI, 'MimeIcons', 'MimeMap', 'image/jpeg' );
See also:
iconDirectMapping

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.


Member Data Documentation

eZWordToImageOperator::$IconInfo

Definition at line 506 of file ezwordtoimageoperator.php.

eZWordToImageOperator::$Operators

Definition at line 505 of file ezwordtoimageoperator.php.


The documentation for this class was generated from the following file: