extends |
Smarty_Template_Resource_Base |
---|
Smarty Resource Data Object Cache Data Container for Template Files
Methods | ||||||
---|---|---|---|---|---|---|
public
|
__construct(Smarty_Internal_Template $_template)
create Cached Object container
|
# | ||||
public
static
|
load(Smarty_Internal_Template $_template): Smarty_Template_Cached
|
# | ||||
public
|
render(Smarty_Internal_Template $_template, bool $no_output_filter = true)
Render cache template
|
# | ||||
public
|
isCached(Smarty_Internal_Template $_template): bool
Check if cache is valid, lock cache if required
Check if cache is valid, lock cache if required Returnsflag true if cache is valid |
# | ||||
public
|
process(Smarty_Internal_Template $_template, bool $update = false)
Process cached template
Process cached template Parameters
Implements |
# | ||||
public
|
read(Smarty_Internal_Template $_template): string|false
Read cache content from handler
Read cache content from handler Parameters
Returnscontent |
# |
Methods inherited from Smarty_Template_Resource_Base |
---|
getRenderedTemplateCode(), getTimeStamp() |
Properties | |||
---|---|---|---|
public
|
boolean
|
$valid = null
|
# |
public
|
Smarty_CacheResource
|
$handler = null
|
# |
public
|
string
|
$cache_id = null
|
# |
public
|
integer
|
$cache_lifetime = 0
|
# |
public
|
string
|
$lock_id = null
|
# |
public
|
bool
|
$is_locked = false
|
# |
public
|
Smarty_Template_Source
|
$source = null
|
# |
public
|
array
|
$hashes = []
|
# |
public
|
bool
|
$isCache = true
|
# |
Properties inherited from Smarty_Template_Resource_Base |
---|
$filepath, $timestamp, $exists, $compile_id, $processed, $unifunc, $has_nocache_code, $file_dependency, $content, $includes, |