Weitere Geerbte Elemente | |
Öffentliche, statische Methoden geerbt von Smarty_CacheResource | |
static | load (Smarty $smarty, $type=null) |
static | invalidLoadedCache (Smarty $smarty) |
Statische, geschützte Attribute geerbt von Smarty_CacheResource | |
static | $sysplugins |
Definiert in Zeile 18 der Datei smarty_internal_cacheresource_file.php.
acquireLock | ( | Smarty | $smarty, |
Smarty_Template_Cached | $cached | ||
) |
Lock cache for this template
Smarty | $smarty | Smarty object |
Smarty_Template_Cached | $cached | cached object |
Definiert in Zeile 301 der Datei smarty_internal_cacheresource_file.php.
clear | ( | Smarty | $smarty, |
$resource_name, | |||
$cache_id, | |||
$compile_id, | |||
$exp_time | |||
) |
Empty cache for a specific template
Smarty | $smarty | |
string | $resource_name | template name |
string | $cache_id | cache id |
string | $compile_id | compile id |
integer | $exp_time | expiration time (number of seconds, not timestamp) |
Definiert in Zeile 164 der Datei smarty_internal_cacheresource_file.php.
Benutzt Smarty\getCacheDir().
Wird benutzt von clearAll().
clearAll | ( | Smarty | $smarty, |
$exp_time = null |
|||
) |
Empty cache
Smarty | $smarty | |
integer | $exp_time | expiration time (number of seconds, not timestamp) |
Definiert in Zeile 148 der Datei smarty_internal_cacheresource_file.php.
Benutzt clear().
hasLock | ( | Smarty | $smarty, |
Smarty_Template_Cached | $cached | ||
) |
Check is cache is locked for this template
Smarty | $smarty | Smarty object |
Smarty_Template_Cached | $cached | cached object |
Definiert in Zeile 278 der Datei smarty_internal_cacheresource_file.php.
populate | ( | Smarty_Template_Cached | $cached, |
Smarty_Internal_Template | $_template | ||
) |
populate Cached Object with meta data from Resource
Smarty_Template_Cached | $cached | cached object |
Smarty_Internal_Template | $_template | template object |
Definiert in Zeile 28 der Datei smarty_internal_cacheresource_file.php.
populateTimestamp | ( | Smarty_Template_Cached | $cached) |
populate Cached Object with timestamp and exists from Resource
Smarty_Template_Cached | $cached | cached object |
Definiert in Zeile 77 der Datei smarty_internal_cacheresource_file.php.
readCachedContent | ( | Smarty_Internal_Template | $_template) |
Read cached template from cache
Smarty_Internal_Template | $_template | template object |
Definiert in Zeile 132 der Datei smarty_internal_cacheresource_file.php.
releaseLock | ( | Smarty | $smarty, |
Smarty_Template_Cached | $cached | ||
) |
Unlock cache for this template
Smarty | $smarty | Smarty object |
Smarty_Template_Cached | $cached | cached object |
Definiert in Zeile 315 der Datei smarty_internal_cacheresource_file.php.
writeCachedContent | ( | Smarty_Internal_Template | $_template, |
$content | |||
) |
Write the rendered template output to cache
Smarty_Internal_Template | $_template | template object |
string | $content | content to cache |
Definiert in Zeile 111 der Datei smarty_internal_cacheresource_file.php.