|
eZ Publish
[4.2]
|
Operators for checking variable type. More...
Public Member Functions | |
| condTransform ($operatorName, &$node, $tpl, &$resourceData, $element, $lastElement, $elementList, $elementTree, &$parameters) | |
| eZTemplateControlOperator ($condName= 'cond', $firstSetName= 'first_set') | |
| modify ($tpl, $operatorName, $operatorParameters, $rootNamespace, $currentNamespace, &$value, $namedParameters, $placement) | |
| namedParameterList () | |
| namedParameterPerOperator () | |
| operatorList () | |
| operatorTemplateHints () | |
Public Attributes | |
| $Operators | |
| The array of operators. | |
Operators for checking variable type.
Usage: Evalue condition and if true return body cond(is_set($var),$var, true(),2) Return first element that is set first_set($var1,$var2,$var3,0)
Definition at line 45 of file eztemplatecontroloperator.php.
| eZTemplateControlOperator::condTransform | ( | $ | operatorName, |
| &$ | node, | ||
| $ | tpl, | ||
| &$ | resourceData, | ||
| $ | element, | ||
| $ | lastElement, | ||
| $ | elementList, | ||
| $ | elementTree, | ||
| &$ | parameters | ||
| ) |
Definition at line 85 of file eztemplatecontroloperator.php.
| eZTemplateControlOperator::eZTemplateControlOperator | ( | $ | condName = 'cond', |
| $ | firstSetName = 'first_set' |
||
| ) |
Initializes the operator class with the various operator names.
| condName | The name array |
Definition at line 50 of file eztemplatecontroloperator.php.
| eZTemplateControlOperator::modify | ( | $ | tpl, |
| $ | operatorName, | ||
| $ | operatorParameters, | ||
| $ | rootNamespace, | ||
| $ | currentNamespace, | ||
| &$ | value, | ||
| $ | namedParameters, | ||
| $ | placement | ||
| ) |
Examines the input value and outputs a boolean value. See class documentation for more information.
Definition at line 215 of file eztemplatecontroloperator.php.
| eZTemplateControlOperator::namedParameterList | ( | ) |
See eZTemplateOperator::namedParameterList
Definition at line 207 of file eztemplatecontroloperator.php.
| eZTemplateControlOperator::namedParameterPerOperator | ( | ) |
Definition at line 199 of file eztemplatecontroloperator.php.
| eZTemplateControlOperator::operatorList | ( | ) |
Returns the operators in this class.
Definition at line 62 of file eztemplatecontroloperator.php.
| eZTemplateControlOperator::operatorTemplateHints | ( | ) |
Definition at line 67 of file eztemplatecontroloperator.php.
| eZTemplateControlOperator::$Operators |
The array of operators.
Definition at line 268 of file eztemplatecontroloperator.php.