eZ Publish Community Project (Legacy Stack) 2013.4
Class

eZTemplateDesignResource

class eZTemplateDesignResource extends eZTemplateFileResource

Constants

DESIGN_BASE_CACHE_NAME

Properties

$Name
$ServesStaticData
$TemplateCache
$Keys
$OverrideSiteAccess

Methods

eZTemplateFileResource($name = 'file', $servesStaticData = true)

from eZTemplateFileResource
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
eZTemplateDesignResource($name = 'design')

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

public eZTemplateFileResource($name = 'file', $servesStaticData = true)

Parameters

$name
$servesStaticData

public resourceName()

public servesStaticData()

at line 40
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

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

Parameters

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

in eZTemplateFileResource at line 107
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 120
public hasCompiledTemplate($keyData, $uri, $resourceData, $templatePath, $extraParameters, $timestamp)

Parameters

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

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

Parameters

$tpl
$resourceData
$extraParameters

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

Parameters

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

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

Parameters

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

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

Parameters

$tpl
$resourceData
$method
$extraParameters

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

Parameters

$tpl
$handler
$resourceData
$method
$extraParameters

at line 33
public eZTemplateDesignResource($name = 'design')

Parameters

$name

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

Parameters

$designSetting
$type

at line 400
public createOverrideCache()

at line 562
public overrideKeys($siteAccess = false)

Parameters

$siteAccess

at line 925
static public clearInMemoryOverrideArray()

Clear in memory override array cache

at line 937
static public clearInMemoryCache()

Clear in memory cache (design settings and override cache)

at line 948
public setKeys($keys)

Parameters

$keys

at line 956
public removeKey($key)

Parameters

$key

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

Parameters

$originalKeys
$keys

at line 979
public clearKeys()

at line 988
public keys()

at line 1027
public setOverrideAccess($siteAccess)

Parameters

$siteAccess