eZ Publish Community Project (Legacy Stack) 2013.4
Class

eZTemplateSetFunction

class eZTemplateSetFunction

Constants

SCOPE_RELATIVE

SCOPE_ROOT

SCOPE_GLOBAL

Properties

$SetName
$LetName
$DefaultName

Methods

eZTemplateSetFunction($setName = 'set', $letName = 'let', $defaultName = 'default')

functionList()

functionTemplateHints()

templateNodeTransformation($functionName, $node, $tpl, $parameters, $privateData)

templateHookProcess($functionName, $functionHookName, $functionHook, $tpl, $functionParameters, $functionPlacement, $rootNamespace, $currentNamespace)

defineVariables($tpl, $functionParameters, $functionPlacement, $name, $rootNamespace, $currentNamespace)

createDefaultVariables($tpl, $functionParameters, $functionPlacement, $name, $rootNamespace, $currentNamespace)

cleanupVariables($tpl, $rootNamespace, $currentNamespace, $setData)

process($tpl, $textElements, $functionName, $functionChildren, $functionParameters, $functionPlacement, $rootNamespace, $currentNamespace)

hasChildren()

Details

at line 45
public eZTemplateSetFunction($setName = 'set', $letName = 'let', $defaultName = 'default')

Parameters

$setName
$letName
$defaultName

at line 55
public functionList()

at line 60
public functionTemplateHints()

at line 79
public templateNodeTransformation($functionName, $node, $tpl, $parameters, $privateData)

Parameters

$functionName
$node
$tpl
$parameters
$privateData

at line 181
public templateHookProcess($functionName, $functionHookName, $functionHook, $tpl, $functionParameters, $functionPlacement, $rootNamespace, $currentNamespace)

Parameters

$functionName
$functionHookName
$functionHook
$tpl
$functionParameters
$functionPlacement
$rootNamespace
$currentNamespace

at line 186
public defineVariables($tpl, $functionParameters, $functionPlacement, $name, $rootNamespace, $currentNamespace)

Parameters

$tpl
$functionParameters
$functionPlacement
$name
$rootNamespace
$currentNamespace

at line 221
public createDefaultVariables($tpl, $functionParameters, $functionPlacement, $name, $rootNamespace, $currentNamespace)

Parameters

$tpl
$functionParameters
$functionPlacement
$name
$rootNamespace
$currentNamespace

at line 249
public cleanupVariables($tpl, $rootNamespace, $currentNamespace, $setData)

Parameters

$tpl
$rootNamespace
$currentNamespace
$setData

at line 262
public process($tpl, $textElements, $functionName, $functionChildren, $functionParameters, $functionPlacement, $rootNamespace, $currentNamespace)

Parameters

$tpl
$textElements
$functionName
$functionChildren
$functionParameters
$functionPlacement
$rootNamespace
$currentNamespace

at line 365
public hasChildren()