eZPublish  3.8
eZTemplateCompiledLoop Class Reference

Common code for compiling the loop functions. More...

Public Member Functions

 cleanup ()
 
 createSequenceVars ()
 
 eZTemplateCompiledLoop ($name, &$newNodes, &$parameters, &$nodePlacement, $uniqid, &$node, &$tpl, &$privateData)
 
 hasSequence ()
 
 initVars ()
 
 iterateSequence ()
 
 processBody ()
 
 processChildren ()
 
 setCurrentSequenceValue ()
 

Private Member Functions

 destroySequenceVars ()
 

Private Attributes

 $Name
 
 $NewNodes
 
 $Node
 
 $NodePlacement
 
 $Parameters
 
 $PrivateData
 
 $Tpl
 
 $UniqID
 

Detailed Description

Common code for compiling the loop functions.

Member Function Documentation

eZTemplateCompiledLoop::cleanup ( )

Destroys PHP and template variables defined by the loop.

eZTemplateCompiledLoop::createSequenceVars ( )

Create PHP and template variables representing sequence specified for the loop.

Referenced by initVars().

eZTemplateCompiledLoop::destroySequenceVars ( )
private

Referenced by cleanup().

eZTemplateCompiledLoop::eZTemplateCompiledLoop (   $name,
$newNodes,
$parameters,
$nodePlacement,
  $uniqid,
$node,
$tpl,
$privateData 
)
eZTemplateCompiledLoop::hasSequence ( )

Returns true if sequence has been specified for the loop in its parameters.

Referenced by cleanup(), createSequenceVars(), iterateSequence(), and setCurrentSequenceValue().

eZTemplateCompiledLoop::initVars ( )

create PHP and template variables needed for the loop.

eZTemplateCompiledLoop::iterateSequence ( )

Increments loop sequence.

Referenced by processBody().

eZTemplateCompiledLoop::processBody ( )

Generates loop body.

eZTemplateCompiledLoop::processChildren ( )

Referenced by processBody().

eZTemplateCompiledLoop::setCurrentSequenceValue ( )

Export current sequence value to the template variable specified in loop parameters.

Referenced by processBody().

Member Data Documentation

eZTemplateCompiledLoop::$Name
private
eZTemplateCompiledLoop::$NewNodes
private
eZTemplateCompiledLoop::$Node
private
eZTemplateCompiledLoop::$NodePlacement
private
eZTemplateCompiledLoop::$Parameters
private
eZTemplateCompiledLoop::$PrivateData
private
eZTemplateCompiledLoop::$Tpl
private
eZTemplateCompiledLoop::$UniqID
private

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