eZPublishCommunityProject(LegacyStack)  2013.6
eZWordToImageOperator Class Reference

The class eZWordToImageOperator does. More...

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.

Member Function Documentation

eZWordToImageOperator::eZWordToImageOperator ( )

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

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

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

Referenced by modify().

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

Returns the template operators.

Member Data Documentation

eZWordToImageOperator::$IconInfo
eZWordToImageOperator::$Operators

Referenced by operatorList().


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