|
| populate (Smarty_Template_Cached $cached, Smarty_Internal_Template $_template) |
| populate Cached Object with meta data from Resource More...
|
|
| populateTimestamp (Smarty_Template_Cached $cached) |
| populate Cached Object with timestamp and exists from Resource More...
|
|
| process (Smarty_Internal_Template $_template, Smarty_Template_Cached $cached=null) |
| Read the cached template and process header. More...
|
|
| writeCachedContent (Smarty_Internal_Template $_template, $content) |
| Write the rendered template output to cache. More...
|
|
| getCachedContent (Smarty_Internal_Template $_template) |
| Return cached content. More...
|
|
| clearAll (Smarty $smarty, $exp_time=null) |
| Empty cache. More...
|
|
| clear (Smarty $smarty, $resource_name, $cache_id, $compile_id, $exp_time) |
| Empty cache for a specific template. More...
|
|
| locked (Smarty $smarty, Smarty_Template_Cached $cached) |
|
| hasLock (Smarty $smarty, Smarty_Template_Cached $cached) |
|
| acquireLock (Smarty $smarty, Smarty_Template_Cached $cached) |
|
| releaseLock (Smarty $smarty, Smarty_Template_Cached $cached) |
|
Definition at line 16 of file smarty_cacheresource.php.
clear |
( |
Smarty |
$smarty, |
|
|
|
$resource_name, |
|
|
|
$cache_id, |
|
|
|
$compile_id, |
|
|
|
$exp_time |
|
) |
| |
|
abstract |
Empty cache for a specific template.
- Parameters
-
Smarty | $smarty | Smarty object |
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) |
- Returns
- integer number of cache files deleted
clearAll |
( |
Smarty |
$smarty, |
|
|
|
$exp_time = null |
|
) |
| |
|
abstract |
Empty cache.
- Parameters
-
Smarty | $smarty | Smarty object |
integer | $exp_time | expiration time (number of seconds, not timestamp) |
- Returns
- integer number of cache files deleted
static invalidLoadedCache |
( |
Smarty |
$smarty | ) |
|
|
static |
static load |
( |
Smarty |
$smarty, |
|
|
|
$type = null |
|
) |
| |
|
static |
populate Cached Object with meta data from Resource
- Parameters
-
- Returns
- void
populate Cached Object with timestamp and exists from Resource
- Parameters
-
- Returns
- void
Read the cached template and process header.
- Parameters
-
- Returns
- booelan true or false if the cached content does not exist
Write the rendered template output to cache.
- Parameters
-
- Returns
- boolean success
The documentation for this class was generated from the following file: