Smarty_Internal_Runtime_UpdateCache
Inline Runtime Methods render, setSourceByUid, setupSubTemplate
- Full name:
\Smarty_Internal_Runtime_UpdateCache
Methods
cacheModifiedCheck
check client side cache
public cacheModifiedCheck(\Smarty_Template_Cached $cached, \Smarty_Internal_Template $_template, string $content): mixed
Parameters:
Parameter | Type | Description |
---|---|---|
$cached |
\Smarty_Template_Cached | |
$_template |
\Smarty_Internal_Template | |
$content |
string |
updateCache
Cache was invalid , so render from compiled and write to cache
public updateCache(\Smarty_Template_Cached $cached, \Smarty_Internal_Template $_template, mixed $no_output_filter): mixed
Parameters:
Parameter | Type | Description |
---|---|---|
$cached |
\Smarty_Template_Cached | |
$_template |
\Smarty_Internal_Template | |
$no_output_filter |
mixed |
Throws:
removeNoCacheHash
Sanitize content and write it to cache resource
public removeNoCacheHash(\Smarty_Template_Cached $cached, \Smarty_Internal_Template $_template, bool $no_output_filter): mixed
Parameters:
Parameter | Type | Description |
---|---|---|
$cached |
\Smarty_Template_Cached | |
$_template |
\Smarty_Internal_Template | |
$no_output_filter |
bool |
Throws:
writeCachedContent
Writes the content to cache resource
Parameters:
Parameter | Type | Description |
---|---|---|
$_template |
\Smarty_Internal_Template | |
$content |
string |
write
Write this cache object to handler
Parameters:
Parameter | Type | Description |
---|---|---|
$_template |
\Smarty_Internal_Template | template object |
$content |
string | content to cache |
Return Value:
success
Automatically generated on 2025-03-18