\Smarty_Internal_Runtime_UpdateCache

Inline Runtime Methods render, setSourceByUid, setupSubTemplate

Summary

Methods
Properties
Constants
cacheModifiedCheck()
removeNoCacheHash()
updateCache()
writeCachedContent()
write()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

cacheModifiedCheck()

cacheModifiedCheck(\Smarty_Template_Cached  $cached, \Smarty_Internal_Template  $_template, string  $content) 

check client side cache

Parameters

\Smarty_Template_Cached $cached
\Smarty_Internal_Template $_template
string $content

removeNoCacheHash()

removeNoCacheHash(\Smarty_Template_Cached  $cached, \Smarty_Internal_Template  $_template, boolean  $no_output_filter) 

Sanitize content and write it to cache resource

Parameters

\Smarty_Template_Cached $cached
\Smarty_Internal_Template $_template
boolean $no_output_filter

Throws

\SmartyException

updateCache()

updateCache(\Smarty_Template_Cached  $cached, \Smarty_Internal_Template  $_template,   $no_output_filter) 

Cache was invalid , so render from compiled and write to cache

Parameters

\Smarty_Template_Cached $cached
\Smarty_Internal_Template $_template
$no_output_filter

Throws

\Exception

writeCachedContent()

writeCachedContent(\Smarty_Template_Cached  $cached, \Smarty_Internal_Template  $_template, string  $content) : boolean

Writes the content to cache resource

Parameters

\Smarty_Template_Cached $cached
\Smarty_Internal_Template $_template
string $content

Returns

boolean

write()

write(\Smarty_Template_Cached  $cached, \Smarty_Internal_Template  $_template, string  $content) : boolean

Write this cache object to handler

Parameters

\Smarty_Template_Cached $cached
\Smarty_Internal_Template $_template

template object

string $content

content to cache

Returns

boolean —

success