Class

eZTemplateDesignResource

class eZTemplateDesignResource extends eZTemplateFileResource

Constants

DESIGN_BASE_CACHE_NAME

Properties

$Name
$ServesStaticData
$TemplateCache
$Keys
$OverrideSiteAccess

Methods

__construct(string $name = 'design')

Constructor

resourceName()

from eZTemplateFileResource
servesStaticData()

from eZTemplateFileResource
templateNodeTransformation($functionName, $node, $tpl, $resourceData, $parameters, $namespaceValue)

cacheKey($keyData, $res, $templatePath, $extraParameters)

from eZTemplateFileResource
hasCachedProcessTree($keyData, $uri, $res, $templatePath, $extraParameters, $timestamp)

from eZTemplateFileResource
compileTemplate($tpl, $keyData, $uri, $res, $templatePath, $extraParameters, $resourceData)

from eZTemplateFileResource
executeCompiledTemplate($tpl, $textElements, $keyData, $uri, $resourceData, $templatePath, $extraParameters, $timestamp, $rootNamespace, $currentNamespace)

from eZTemplateFileResource
hasCompiledTemplate($keyData, $uri, $resourceData, $templatePath, $extraParameters, $timestamp)

from eZTemplateFileResource
canCompileTemplate($tpl, $resourceData, $extraParameters)

from eZTemplateFileResource
cachedTemplateTree($keyData, $uri, $res, $templatePath, $extraParameters, $timestamp)

from eZTemplateFileResource
setCachedTemplateTree($keyData, $uri, $res, $templatePath, $extraParameters, $root)

from eZTemplateFileResource
handleResource($tpl, $resourceData, $method, $extraParameters)

handleResourceData($tpl, $handler, $resourceData, $method, $extraParameters)

from eZTemplateFileResource
setDesignSetting($designSetting, $type = 'standard')

createOverrideCache()

overrideKeys($siteAccess = false)

static  clearInMemoryOverrideArray()

Clear in memory override array cache

static  clearInMemoryCache()

Clear in memory cache (design settings and override cache)

setKeys($keys)

removeKey($key)

mergeKeys($originalKeys, $keys)

clearKeys()

keys()

setOverrideAccess($siteAccess)

Details

at line 35
public __construct(string $name = 'design')

Constructor

Parameters

string $name

public resourceName()

public servesStaticData()

at line 42
public templateNodeTransformation($functionName, $node, $tpl, $resourceData, $parameters, $namespaceValue)

Parameters

$functionName
$node
$tpl
$resourceData
$parameters
$namespaceValue

public cacheKey($keyData, $res, $templatePath, $extraParameters)

Parameters

$keyData
$res
$templatePath
$extraParameters

public hasCachedProcessTree($keyData, $uri, $res, $templatePath, $extraParameters, $timestamp)

Parameters

$keyData
$uri
$res
$templatePath
$extraParameters
$timestamp

in eZTemplateFileResource at line 100
public compileTemplate($tpl, $keyData, $uri, $res, $templatePath, $extraParameters, $resourceData)

Parameters

$tpl
$keyData
$uri
$res
$templatePath
$extraParameters
$resourceData

in eZTemplateFileResource at line 109
public executeCompiledTemplate($tpl, $textElements, $keyData, $uri, $resourceData, $templatePath, $extraParameters, $timestamp, $rootNamespace, $currentNamespace)

Parameters

$tpl
$textElements
$keyData
$uri
$resourceData
$templatePath
$extraParameters
$timestamp
$rootNamespace
$currentNamespace

in eZTemplateFileResource at line 122
public hasCompiledTemplate($keyData, $uri, $resourceData, $templatePath, $extraParameters, $timestamp)

Parameters

$keyData
$uri
$resourceData
$templatePath
$extraParameters
$timestamp

in eZTemplateFileResource at line 131
public canCompileTemplate($tpl, $resourceData, $extraParameters)

Parameters

$tpl
$resourceData
$extraParameters

in eZTemplateFileResource at line 139
public cachedTemplateTree($keyData, $uri, $res, $templatePath, $extraParameters, $timestamp)

Parameters

$keyData
$uri
$res
$templatePath
$extraParameters
$timestamp

in eZTemplateFileResource at line 150
public setCachedTemplateTree($keyData, $uri, $res, $templatePath, $extraParameters, $root)

Parameters

$keyData
$uri
$res
$templatePath
$extraParameters
$root

at line 253
public handleResource($tpl, $resourceData, $method, $extraParameters)

Parameters

$tpl
$resourceData
$method
$extraParameters

in eZTemplateFileResource at line 173
public handleResourceData($tpl, $handler, $resourceData, $method, $extraParameters)

Parameters

$tpl
$handler
$resourceData
$method
$extraParameters

at line 210
public setDesignSetting($designSetting, $type = 'standard')

Parameters

$designSetting
$type

at line 402
public createOverrideCache()

at line 564
public overrideKeys($siteAccess = false)

Parameters

$siteAccess

at line 931
static public clearInMemoryOverrideArray()

Clear in memory override array cache

at line 943
static public clearInMemoryCache()

Clear in memory cache (design settings and override cache)

at line 954
public setKeys($keys)

Parameters

$keys

at line 962
public removeKey($key)

Parameters

$key

at line 972
public mergeKeys($originalKeys, $keys)

Parameters

$originalKeys
$keys

at line 985
public clearKeys()

at line 994
public keys()

at line 1033
public setOverrideAccess($siteAccess)

Parameters

$siteAccess