eZ Publish  [trunk]
eZWordToImageOperator Class Reference

The class eZWordToImageOperator does. More...

List of all members.

Public Member Functions

 eZWordToImageOperator ()
 modify ($tpl, $operatorName, $operatorParameters, $rootNamespace, $currentNamespace, &$operatorValue, $namedParameters, $placement)
 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 16 of file ezwordtoimageoperator.php.


Member Function Documentation

Initializes the object with the name $name, default is "wash".

Definition at line 21 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 387 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 436 of file ezwordtoimageoperator.php.

Referenced by modify().

eZWordToImageOperator::modify ( tpl,
operatorName,
operatorParameters,
rootNamespace,
currentNamespace,
&$  operatorValue,
namedParameters,
placement 
)

Definition at line 37 of file ezwordtoimageoperator.php.

Returns the template operators.

Definition at line 32 of file ezwordtoimageoperator.php.


Member Data Documentation

eZWordToImageOperator::$IconInfo

Definition at line 486 of file ezwordtoimageoperator.php.

eZWordToImageOperator::$Operators

Definition at line 485 of file ezwordtoimageoperator.php.


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