eZTemplateArrayOperator Class Reference
[Template operators]
Dynamic creation of arrays using operator "array".
More...
List of all members.
|
Public Methods |
| eZTemplateArrayOperator ($arrayName="array",$hashName= 'hash',$arrayPrependName= 'array_prepend',$arrayAppendName= 'array_append',$arrayMergeName= 'array_merge',$containsName= 'contains') |
& | operatorList () |
| modify (&$tpl,&$operatorName,&$operatorParameters,&$rootNamespace,&$currentNamespace,&$operatorValue,&$namedParameters) |
Public Attributes |
| Operators |
| \privatesection
|
Detailed Description
Dynamic creation of arrays using operator "array".
Creates an operator which can create arrays dynamically by adding all operator parameters as array elements.
{array(1,"test")}
{array(array(1,2),3)}
Definition at line eztemplatearrayoperator.php.
Constructor & Destructor Documentation
eZTemplateArrayOperator::eZTemplateArrayOperator |
( |
$ |
arrayName = "array", |
|
|
$ |
hashName = 'hash', |
|
|
$ |
arrayPrependName = 'array_prepend', |
|
|
$ |
arrayAppendName = 'array_append', |
|
|
$ |
arrayMergeName = 'array_merge', |
|
|
$ |
containsName = 'contains' |
|
) |
|
|
Member Function Documentation
eZTemplateArrayOperator::modify |
( |
&$ |
tpl, |
|
|
&$ |
operatorName, |
|
|
&$ |
operatorParameters, |
|
|
&$ |
rootNamespace, |
|
|
&$ |
currentNamespace, |
|
|
&$ |
operatorValue, |
|
|
&$ |
namedParameters |
|
) |
|
|
|
Creates an array of all it's input parameters and sets $operatorValue. - Parameters:
-
operatorParameters |
Contains all array elements |
Definition at line eztemplatearrayoperator.php. |
& eZTemplateArrayOperator::operatorList |
( |
|
) |
|
|
The documentation for this class was generated from the following file:
|