eZ Publish  [4.2]
eZTemplateArithmeticOperator Class Reference

The class eZTemplateArithmeticOperator does. More...

List of all members.

Public Member Functions

 basicTransformation ($operatorName, &$node, $tpl, &$resourceData, $element, $lastElement, $elementList, $elementTree, &$parameters)
 castTransformation ($operatorName, &$node, $tpl, &$resourceData, $element, $lastElement, $elementList, $elementTree, &$parameters)
 decIncTransformation ($operatorName, &$node, $tpl, &$resourceData, $element, $lastElement, $elementList, $elementTree, &$parameters)
 eZTemplateArithmeticOperator ()
 minMaxTransformation ($operatorName, &$node, $tpl, &$resourceData, $element, $lastElement, $elementList, $elementTree, &$parameters)
 modify ($tpl, $operatorName, $operatorParameters, $rootNamespace, $currentNamespace, &$operatorValue, $namedParameters, $placement)
 modTransformation ($operatorName, &$node, $tpl, &$resourceData, $element, $lastElement, $elementList, $elementTree, &$parameters)
 namedParameterList ()
 namedParameterPerOperator ()
 operatorList ()
 operatorTemplateHints ()
 randTransformation ($operatorName, &$node, $tpl, &$resourceData, $element, $lastElement, $elementList, $elementTree, &$parameters)
 romanTransformation ($operatorName, &$node, $tpl, &$resourceData, $element, $lastElement, $elementList, $elementTree, &$parameters)
 roundTransformation ($operatorName, &$node, $tpl, &$resourceData, $element, $lastElement, $elementList, $elementTree, &$parameters)

Public Attributes

 $AbsName
 $CeilName
 $CountName
 $DecName
 $DivName
 $FloatName
 $FloorName
 $IncName
 $IntName
 $MaxName
 $MinName
 $ModName
 $MulName
 $Operators
 $RandName
 $RomanName
 $RoundName
 $SubName
 $SumName

Private Member Functions

 buildRoman ($value)
 numericalValue ($mixedValue)

Detailed Description

The class eZTemplateArithmeticOperator does.

sum sub inc dec

div mod mul

max min

abs ceil floor round

int float

count

Definition at line 62 of file eztemplatearithmeticoperator.php.


Member Function Documentation

eZTemplateArithmeticOperator::basicTransformation ( operatorName,
&$  node,
tpl,
&$  resourceData,
element,
lastElement,
elementList,
elementTree,
&$  parameters 
)

Definition at line 227 of file eztemplatearithmeticoperator.php.

eZTemplateArithmeticOperator::buildRoman ( value) [private]

Recursive function for calculating roman numeral from integer

Parameters:
integervalue
Returns:
next chars for for current value

Definition at line 848 of file eztemplatearithmeticoperator.php.

Referenced by modify(), and romanTransformation().

eZTemplateArithmeticOperator::castTransformation ( operatorName,
&$  node,
tpl,
&$  resourceData,
element,
lastElement,
elementList,
elementTree,
&$  parameters 
)

Definition at line 485 of file eztemplatearithmeticoperator.php.

eZTemplateArithmeticOperator::decIncTransformation ( operatorName,
&$  node,
tpl,
&$  resourceData,
element,
lastElement,
elementList,
elementTree,
&$  parameters 
)

Definition at line 461 of file eztemplatearithmeticoperator.php.

eZTemplateArithmeticOperator::eZTemplateArithmeticOperator ( )

Constructor

Definition at line 67 of file eztemplatearithmeticoperator.php.

eZTemplateArithmeticOperator::minMaxTransformation ( operatorName,
&$  node,
tpl,
&$  resourceData,
element,
lastElement,
elementList,
elementTree,
&$  parameters 
)

Definition at line 364 of file eztemplatearithmeticoperator.php.

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

Examines the input value and outputs a boolean value. See class documentation for more information.

Definition at line 603 of file eztemplatearithmeticoperator.php.

eZTemplateArithmeticOperator::modTransformation ( operatorName,
&$  node,
tpl,
&$  resourceData,
element,
lastElement,
elementList,
elementTree,
&$  parameters 
)

Definition at line 414 of file eztemplatearithmeticoperator.php.

eZTemplateArithmeticOperator::namedParameterList ( )
eZTemplateArithmeticOperator::namedParameterPerOperator ( )
Returns:
true to tell the template engine that the parameter list exists per operator type.

Definition at line 556 of file eztemplatearithmeticoperator.php.

eZTemplateArithmeticOperator::numericalValue ( mixedValue) [private]

This function adds too much complexity, don't use it anymore

Definition at line 581 of file eztemplatearithmeticoperator.php.

eZTemplateArithmeticOperator::operatorList ( )

Returns the operators in this class.

Definition at line 88 of file eztemplatearithmeticoperator.php.

eZTemplateArithmeticOperator::operatorTemplateHints ( )

Definition at line 93 of file eztemplatearithmeticoperator.php.

eZTemplateArithmeticOperator::randTransformation ( operatorName,
&$  node,
tpl,
&$  resourceData,
element,
lastElement,
elementList,
elementTree,
&$  parameters 
)

Definition at line 507 of file eztemplatearithmeticoperator.php.

eZTemplateArithmeticOperator::romanTransformation ( operatorName,
&$  node,
tpl,
&$  resourceData,
element,
lastElement,
elementList,
elementTree,
&$  parameters 
)

Definition at line 534 of file eztemplatearithmeticoperator.php.

eZTemplateArithmeticOperator::roundTransformation ( operatorName,
&$  node,
tpl,
&$  resourceData,
element,
lastElement,
elementList,
elementTree,
&$  parameters 
)

Definition at line 437 of file eztemplatearithmeticoperator.php.


Member Data Documentation

eZTemplateArithmeticOperator::$AbsName

Definition at line 910 of file eztemplatearithmeticoperator.php.

eZTemplateArithmeticOperator::$CeilName

Definition at line 911 of file eztemplatearithmeticoperator.php.

eZTemplateArithmeticOperator::$CountName

Definition at line 918 of file eztemplatearithmeticoperator.php.

eZTemplateArithmeticOperator::$DecName

Definition at line 901 of file eztemplatearithmeticoperator.php.

eZTemplateArithmeticOperator::$DivName

Definition at line 903 of file eztemplatearithmeticoperator.php.

eZTemplateArithmeticOperator::$FloatName

Definition at line 916 of file eztemplatearithmeticoperator.php.

eZTemplateArithmeticOperator::$FloorName

Definition at line 912 of file eztemplatearithmeticoperator.php.

eZTemplateArithmeticOperator::$IncName

Definition at line 900 of file eztemplatearithmeticoperator.php.

eZTemplateArithmeticOperator::$IntName

Definition at line 915 of file eztemplatearithmeticoperator.php.

eZTemplateArithmeticOperator::$MaxName

Definition at line 907 of file eztemplatearithmeticoperator.php.

eZTemplateArithmeticOperator::$MinName

Definition at line 908 of file eztemplatearithmeticoperator.php.

eZTemplateArithmeticOperator::$ModName

Definition at line 904 of file eztemplatearithmeticoperator.php.

eZTemplateArithmeticOperator::$MulName

Definition at line 905 of file eztemplatearithmeticoperator.php.

eZTemplateArithmeticOperator::$Operators

Definition at line 897 of file eztemplatearithmeticoperator.php.

eZTemplateArithmeticOperator::$RandName

Definition at line 922 of file eztemplatearithmeticoperator.php.

eZTemplateArithmeticOperator::$RomanName

Definition at line 920 of file eztemplatearithmeticoperator.php.

eZTemplateArithmeticOperator::$RoundName

Definition at line 913 of file eztemplatearithmeticoperator.php.

eZTemplateArithmeticOperator::$SubName

Definition at line 899 of file eztemplatearithmeticoperator.php.

eZTemplateArithmeticOperator::$SumName

Definition at line 898 of file eztemplatearithmeticoperator.php.


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