Class

eZTemplateCacheFunction

class eZTemplateCacheFunction

Constants

DEFAULT_TTL

Properties

$BlockName

Methods

__construct(string $blockName = 'cache-block')

Initializes the object with names.

functionList()

functionTemplateHints()

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

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

processCachedPreprocess($tpl, $functionChildren, $functionParameters, $functionPlacement, $rootNamespace, $currentNamespace)

processCached($tpl, $functionChildren, $rootNamespace, $currentNamespace, $placementString, $keys, $subtreeExpiry, $expiry, $ignoreContentExpiry)

generateProcessedContent($fname, $args)

processUncached($tpl, $functionChildren, $rootNamespace, $currentNamespace)

hasChildren()

Details

at line 27
public __construct(string $blockName = 'cache-block')

Initializes the object with names.

Parameters

string $blockName

at line 36
public functionList()

at line 41
public functionTemplateHints()

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

Parameters

$functionName
$node
$tpl
$parameters
$privateData

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

Parameters

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

at line 201
public processCachedPreprocess($tpl, $functionChildren, $functionParameters, $functionPlacement, $rootNamespace, $currentNamespace)

Parameters

$tpl
$functionChildren
$functionParameters
$functionPlacement
$rootNamespace
$currentNamespace

at line 236
public processCached($tpl, $functionChildren, $rootNamespace, $currentNamespace, $placementString, $keys, $subtreeExpiry, $expiry, $ignoreContentExpiry)

Parameters

$tpl
$functionChildren
$rootNamespace
$currentNamespace
$placementString
$keys
$subtreeExpiry
$expiry
$ignoreContentExpiry

at line 287
public generateProcessedContent($fname, $args)

Parameters

$fname
$args

at line 301
public processUncached($tpl, $functionChildren, $rootNamespace, $currentNamespace)

Parameters

$tpl
$functionChildren
$rootNamespace
$currentNamespace

at line 321
public hasChildren()