Class

eZTemplateBlockFunction

class eZTemplateBlockFunction

Constants

SCOPE_RELATIVE

SCOPE_ROOT

SCOPE_GLOBAL

Properties

$BlockName
$AppendBlockName
$OnceName

Methods

__construct(string $blockName = 'set-block', string $appendBlockName = 'append-block', string $onceName = 'run-once')

functionList()

functionTemplateHints()

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

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

resetFunction($functionName)

placementKey($placement)

hasPlacementKey($key)

registerPlacementKey($key, $placement)

hasChildren()

Details

at line 60
public __construct(string $blockName = 'set-block', string $appendBlockName = 'append-block', string $onceName = 'run-once')

Parameters

string $blockName
string $appendBlockName
string $onceName

at line 73
public functionList()

at line 78
public functionTemplateHints()

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

Parameters

$functionName
$node
$tpl
$parameters
$privateData

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

Parameters

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

at line 296
public resetFunction($functionName)

Parameters

$functionName

at line 308
public placementKey($placement)

Parameters

$placement

at line 325
public hasPlacementKey($key)

Parameters

$key

at line 333
public registerPlacementKey($key, $placement)

Parameters

$key
$placement

at line 341
public hasChildren()