eZPublish  4.5
eZTemplateWhileFunction Class Reference

WHILE loop. More...

Public Member Functions

 attributeList ()
functionList ()
 functionTemplateHints ()
 hasChildren ()
 process ($tpl, &$textElements, $functionName, $functionChildren, $functionParameters, $functionPlacement, $rootNamespace, $currentNamespace)
 templateNodeTransformation ($functionName, &$node, $tpl, &$parameters, $privateData)

Public Attributes

const FUNCTION_NAME = 'while'

Detailed Description

WHILE loop.


{while <condition> [sequence <array> as $seqVar] }


{while ne( $var, false() ) }
I like big trucks

Member Function Documentation

eZTemplateWhileFunction::attributeList ( )

Returns the attribute list. key: parameter name value: can have children

& eZTemplateWhileFunction::functionList ( )

Returns an array of the function names, required for eZTemplate::registerFunctions.

eZTemplateWhileFunction::functionTemplateHints ( )

Returns the array with hits for the template compiler.

eZTemplateWhileFunction::hasChildren ( )

Returns true, telling the template parser that the function can have children.

eZTemplateWhileFunction::process (   $tpl,

Actually executes the function and its children (in processed mode).

eZTemplateWhileFunction::templateNodeTransformation (   $functionName,

Compiles the function and its children into PHP code.

Member Data Documentation

const eZTemplateWhileFunction::FUNCTION_NAME = 'while'

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