eZTemplateSequenceFunction Class Reference
[Template functions]
Wrapped array looping in templates using function "sequence".
More...
List of all members.
Detailed Description
Wrapped array looping in templates using function "sequence".
This class allows for creating arrays which are looped independently of a section. This is useful if you want to create multiple sequences.
{* Init the sequence *}
{sequence name=seq loop=array(2,5,7)}
{* Use it *}
{$seq:item}
{* Iterate it *}
{sequence name=seq}
Definition at line eztemplatesequencefunction.php.
Constructor & Destructor Documentation
eZTemplateSequenceFunction::eZTemplateSequenceFunction |
( |
$ |
inc_name = "sequence" |
) |
|
|
Member Function Documentation
& eZTemplateSequenceFunction::functionList |
( |
|
) |
|
|
eZTemplateSequenceFunction::hasChildren |
( |
|
) |
|
|
eZTemplateSequenceFunction::process |
( |
&$ |
tpl, |
|
|
&$ |
textElements, |
|
|
$ |
functionName, |
|
|
$ |
functionChildren, |
|
|
$ |
functionParameters, |
|
|
$ |
functionPlacement, |
|
|
$ |
rootNamespace, |
|
|
$ |
currentNamespace |
|
) |
|
|
The documentation for this class was generated from the following file:
|