Öffentliche Methoden | |
__construct (Smarty_Internal_Template $_template) | |
isCached (Smarty_Internal_Template $_template) | |
process (Smarty_Internal_Template $_template) | |
render (Smarty_Internal_Template $_template) | |
write (Smarty_Internal_Template $_template, $content) | |
read (Smarty_Internal_Template $_template) | |
updateCache (Smarty_Internal_Template $_template, $content, $no_output_filter) | |
writeCachedContent (Smarty_Internal_Template $_template, $content) | |
cacheModifiedCheck (Smarty_Internal_Template $_template, $content) | |
Öffentliche, statische Methoden | |
static | load (Smarty_Internal_Template $_template) |
Datenfelder | |
$filepath = false | |
$content = null | |
$timestamp = false | |
$exists = false | |
$valid = null | |
$processed = false | |
$handler = null | |
$compile_id = null | |
$cache_id = null | |
$lock_id = null | |
$is_locked = false | |
$source = null | |
Definiert in Zeile 17 der Datei smarty_template_cached.php.
__construct | ( | Smarty_Internal_Template | $_template) |
create Cached Object container
Smarty_Internal_Template | $_template | template object |
Definiert in Zeile 108 der Datei smarty_template_cached.php.
Benutzt Smarty_CacheResource\load() und Smarty_Internal_Template\loadSource().
cacheModifiedCheck | ( | Smarty_Internal_Template | $_template, |
$content | |||
) |
check client side cache
Smarty_Internal_Template | $_template | |
string | $content |
Definiert in Zeile 362 der Datei smarty_template_cached.php.
Benutzt $content und Smarty_Internal_TemplateBase\isCached().
isCached | ( | Smarty_Internal_Template | $_template) |
Check if cache is valid, lock cache if required
\Smarty_Internal_Template | $_template |
Definiert in Zeile 145 der Datei smarty_template_cached.php.
Benutzt $valid, Smarty\CACHING_LIFETIME_CURRENT, Smarty\CACHING_LIFETIME_SAVED, Smarty_Internal_Debug\end_cache() und Smarty_Internal_Debug\start_cache().
|
static |
Smarty_Internal_Template | $_template |
Definiert in Zeile 127 der Datei smarty_template_cached.php.
Benutzt Smarty\CACHING_LIFETIME_CURRENT und Smarty\CACHING_LIFETIME_SAVED.
Wird benutzt von Smarty_Internal_Template\loadCached().
process | ( | Smarty_Internal_Template | $_template) |
Process cached template
Smarty_Internal_Template | $_template | template object |
Definiert in Zeile 214 der Datei smarty_template_cached.php.
Wird benutzt von render().
read | ( | Smarty_Internal_Template | $_template) |
Read cache content from handler
Smarty_Internal_Template | $_template | template object |
Definiert in Zeile 282 der Datei smarty_template_cached.php.
render | ( | Smarty_Internal_Template | $_template) |
Render cached template
Smarty_Internal_Template | $_template |
Exception |
Definiert in Zeile 234 der Datei smarty_template_cached.php.
Benutzt Smarty_Internal_Template\getRenderedTemplateCode() und process().
updateCache | ( | Smarty_Internal_Template | $_template, |
$content, | |||
$no_output_filter | |||
) |
Sanitize content and write it to cache resource
Smarty_Internal_Template | $_template | |
string | $content | |
bool | $no_output_filter |
SmartyException |
Definiert in Zeile 299 der Datei smarty_template_cached.php.
Benutzt $content, Smarty_Internal_Filter_Handler\runFilter() und writeCachedContent().
write | ( | Smarty_Internal_Template | $_template, |
$content | |||
) |
Write this cache object to handler
Smarty_Internal_Template | $_template | template object |
string | $content | content to cache |
Definiert in Zeile 250 der Datei smarty_template_cached.php.
Benutzt $content.
Wird benutzt von writeCachedContent().
writeCachedContent | ( | Smarty_Internal_Template | $_template, |
$content | |||
) |
Writes the content to cache resource
Smarty_Internal_Template | $_template | |
string | $content |
Definiert in Zeile 331 der Datei smarty_template_cached.php.
Benutzt $content, Smarty\CACHING_LIFETIME_CURRENT, Smarty\CACHING_LIFETIME_SAVED, Smarty_Internal_Extension_CodeFrame\create() und write().
Wird benutzt von updateCache().
$cache_id = null |
Definiert in Zeile 80 der Datei smarty_template_cached.php.
$compile_id = null |
Definiert in Zeile 73 der Datei smarty_template_cached.php.
$content = null |
Definiert in Zeile 31 der Datei smarty_template_cached.php.
Wird benutzt von cacheModifiedCheck(), updateCache(), write() und writeCachedContent().
$exists = false |
Definiert in Zeile 45 der Datei smarty_template_cached.php.
$filepath = false |
Definiert in Zeile 24 der Datei smarty_template_cached.php.
$handler = null |
Definiert in Zeile 66 der Datei smarty_template_cached.php.
$is_locked = false |
Definiert in Zeile 94 der Datei smarty_template_cached.php.
$lock_id = null |
Definiert in Zeile 87 der Datei smarty_template_cached.php.
$processed = false |
Definiert in Zeile 59 der Datei smarty_template_cached.php.
$source = null |
Definiert in Zeile 101 der Datei smarty_template_cached.php.
$timestamp = false |
Definiert in Zeile 38 der Datei smarty_template_cached.php.
$valid = null |
Definiert in Zeile 52 der Datei smarty_template_cached.php.
Wird benutzt von isCached().