|
eZ Publish
[4.2]
|
Dynamic creation of arrays using operator "array". More...
Public Member Functions | |
| arrayTrans ($operatorName, &$node, $tpl, &$resourceData, $element, $lastElement, $elementList, $elementTree, &$parameters) | |
| compareTrans ($operatorName, &$node, $tpl, &$resourceData, $element, $lastElement, $elementList, $elementTree, &$parameters) | |
| extractTrans ($operatorName, &$node, $tpl, &$resourceData, $element, $lastElement, $elementList, $elementTree, &$parameters) | |
| eZTemplateArrayOperator ($arrayName= 'array', $hashName= 'hash', $arrayPrependName= 'array_prepend', $prependName= 'prepend', $arrayAppendName= 'array_append', $appendName= 'append', $arrayMergeName= 'array_merge', $mergeName= 'merge', $containsName= 'contains', $compareName= 'compare', $extractName= 'extract', $extractLeftName= 'extract_left', $extractRightName= 'extract_right', $beginsWithName= 'begins_with', $endsWithName= 'ends_with', $implodeName= 'implode', $explodeName= 'explode', $repeatName= 'repeat', $reverseName= 'reverse', $insertName= 'insert', $removeName= 'remove', $replaceName= 'replace', $uniqueName= 'unique', $arraySumName= 'array_sum') | |
| mergeTrans ($operatorName, &$node, $tpl, &$resourceData, $element, $lastElement, $elementList, $elementTree, &$parameters) | |
| modify ($tpl, $operatorName, $operatorParameters, $rootNamespace, $currentNamespace, &$operatorValue, $namedParameters, $placement) | |
| namedParameterList () | |
| namedParameterPerOperator () | |
| operatorList () | |
| operatorTemplateHints () | |
Public Attributes | |
| $ArrayName | |
| $HashName | |
| $Operators | |
Dynamic creation of arrays using operator "array".
Creates an operator which can create arrays dynamically by adding all operator parameters as array elements.
// Example template code {array(1,"test")} {array(array(1,2),3)}
Definition at line 47 of file eztemplatearrayoperator.php.
| eZTemplateArrayOperator::arrayTrans | ( | $ | operatorName, |
| &$ | node, | ||
| $ | tpl, | ||
| &$ | resourceData, | ||
| $ | element, | ||
| $ | lastElement, | ||
| $ | elementList, | ||
| $ | elementTree, | ||
| &$ | parameters | ||
| ) |
Definition at line 302 of file eztemplatearrayoperator.php.
| eZTemplateArrayOperator::compareTrans | ( | $ | operatorName, |
| &$ | node, | ||
| $ | tpl, | ||
| &$ | resourceData, | ||
| $ | element, | ||
| $ | lastElement, | ||
| $ | elementList, | ||
| $ | elementTree, | ||
| &$ | parameters | ||
| ) |
Definition at line 1051 of file eztemplatearrayoperator.php.
| eZTemplateArrayOperator::extractTrans | ( | $ | operatorName, |
| &$ | node, | ||
| $ | tpl, | ||
| &$ | resourceData, | ||
| $ | element, | ||
| $ | lastElement, | ||
| $ | elementList, | ||
| $ | elementTree, | ||
| &$ | parameters | ||
| ) |
Definition at line 1242 of file eztemplatearrayoperator.php.
| eZTemplateArrayOperator::eZTemplateArrayOperator | ( | $ | arrayName = 'array', |
| $ | hashName = 'hash', |
||
| $ | arrayPrependName = 'array_prepend', |
||
| $ | prependName = 'prepend', |
||
| $ | arrayAppendName = 'array_append', |
||
| $ | appendName = 'append', |
||
| $ | arrayMergeName = 'array_merge', |
||
| $ | mergeName = 'merge', |
||
| $ | containsName = 'contains', |
||
| $ | compareName = 'compare', |
||
| $ | extractName = 'extract', |
||
| $ | extractLeftName = 'extract_left', |
||
| $ | extractRightName = 'extract_right', |
||
| $ | beginsWithName = 'begins_with', |
||
| $ | endsWithName = 'ends_with', |
||
| $ | implodeName = 'implode', |
||
| $ | explodeName = 'explode', |
||
| $ | repeatName = 'repeat', |
||
| $ | reverseName = 'reverse', |
||
| $ | insertName = 'insert', |
||
| $ | removeName = 'remove', |
||
| $ | replaceName = 'replace', |
||
| $ | uniqueName = 'unique', |
||
| $ | arraySumName = 'array_sum' |
||
| ) |
Initializes the array operator with the operator name $name.
Definition at line 52 of file eztemplatearrayoperator.php.
| eZTemplateArrayOperator::mergeTrans | ( | $ | operatorName, |
| &$ | node, | ||
| $ | tpl, | ||
| &$ | resourceData, | ||
| $ | element, | ||
| $ | lastElement, | ||
| $ | elementList, | ||
| $ | elementTree, | ||
| &$ | parameters | ||
| ) |
Definition at line 1345 of file eztemplatearrayoperator.php.
| eZTemplateArrayOperator::modify | ( | $ | tpl, |
| $ | operatorName, | ||
| $ | operatorParameters, | ||
| $ | rootNamespace, | ||
| $ | currentNamespace, | ||
| &$ | operatorValue, | ||
| $ | namedParameters, | ||
| $ | placement | ||
| ) |
Definition at line 1576 of file eztemplatearrayoperator.php.
| eZTemplateArrayOperator::namedParameterList | ( | ) |
See eZTemplateOperator::namedParameterList()
Definition at line 1518 of file eztemplatearrayoperator.php.
| eZTemplateArrayOperator::namedParameterPerOperator | ( | ) |
Definition at line 1511 of file eztemplatearrayoperator.php.
| eZTemplateArrayOperator::operatorList | ( | ) |
Returns the operators in this class.
Definition at line 131 of file eztemplatearrayoperator.php.
| eZTemplateArrayOperator::operatorTemplateHints | ( | ) |
Definition at line 136 of file eztemplatearrayoperator.php.
| eZTemplateArrayOperator::$ArrayName |
Definition at line 2118 of file eztemplatearrayoperator.php.
| eZTemplateArrayOperator::$HashName |
Definition at line 2119 of file eztemplatearrayoperator.php.
| eZTemplateArrayOperator::$Operators |
Definition at line 2117 of file eztemplatearrayoperator.php.