PEEL Shopping
Open source ecommerce : PEEL Shopping
|
Public Member Functions | |
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 the header. More... | |
writeCachedContent (Smarty_Internal_Template $_template, $content) | |
Write the rendered template output to cache. 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... | |
hasLock (Smarty $smarty, Smarty_Template_Cached $cached) | |
Check is cache is locked for this template. More... | |
acquireLock (Smarty $smarty, Smarty_Template_Cached $cached) | |
Lock cache for this template. More... | |
releaseLock (Smarty $smarty, Smarty_Template_Cached $cached) | |
Unlock cache for this template. More... | |
Public Member Functions inherited from Smarty_CacheResource | |
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) | |
Protected Member Functions | |
fetch ($id, $name, $cache_id, $compile_id, &$content, &$mtime) | |
fetch cached content and its modification time from data source More... | |
fetchTimestamp ($id, $name, $cache_id, $compile_id) | |
Fetch cached content's modification timestamp from data source. More... | |
save ($id, $name, $cache_id, $compile_id, $exp_time, $content) | |
Save content to cache. More... | |
delete ($name, $cache_id, $compile_id, $exp_time) | |
Delete content from cache. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from Smarty_CacheResource | |
static | load (Smarty $smarty, $type=null) |
Load Cache Resource Handler. More... | |
static | invalidLoadedCache (Smarty $smarty) |
Invalid Loaded Cache Files. More... | |
Static Public Attributes inherited from Smarty_CacheResource | |
static | $resources = array() |
Static Protected Attributes inherited from Smarty_CacheResource | |
static | $sysplugins |
Definition at line 16 of file smarty_cacheresource_custom.php.
acquireLock | ( | Smarty | $smarty, |
Smarty_Template_Cached | $cached | ||
) |
Lock cache for this template.
Smarty | $smarty | Smarty object |
Smarty_Template_Cached | $cached | cached object |
Definition at line 214 of file smarty_cacheresource_custom.php.
clear | ( | Smarty | $smarty, |
$resource_name, | |||
$cache_id, | |||
$compile_id, | |||
$exp_time | |||
) |
Empty cache for a specific template.
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) |
Definition at line 182 of file smarty_cacheresource_custom.php.
clearAll | ( | Smarty | $smarty, |
$exp_time = null |
|||
) |
Empty cache.
Smarty | $smarty | Smarty object |
integer | $exp_time | expiration time (number of seconds, not timestamp) |
Definition at line 166 of file smarty_cacheresource_custom.php.
|
abstractprotected |
Delete content from cache.
string | $name | template name |
string | $cache_id | cache id |
string | $compile_id | compile id |
integer | null | $exp_time | seconds till expiration time in seconds or null |
|
abstractprotected |
fetch cached content and its modification time from data source
string | $id | unique cache content identifier |
string | $name | template name |
string | $cache_id | cache id |
string | $compile_id | compile id |
string | $content | cached content |
integer | $mtime | cache modification timestamp (epoch) |
|
protected |
Fetch cached content's modification timestamp from data source.
{
Definition at line 43 of file smarty_cacheresource_custom.php.
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 |
Definition at line 195 of file smarty_cacheresource_custom.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 |
Definition at line 79 of file smarty_cacheresource_custom.php.
populateTimestamp | ( | Smarty_Template_Cached | $cached | ) |
populate Cached Object with timestamp and exists from Resource
Smarty_Template_Cached | $source | cached object |
Definition at line 94 of file smarty_cacheresource_custom.php.
process | ( | Smarty_Internal_Template | $_template, |
Smarty_Template_Cached | $cached = null |
||
) |
Read the cached template and process the header.
Smarty_Internal_Template | $_template | template object |
Smarty_Template_Cached | $cached | cached object |
Definition at line 115 of file smarty_cacheresource_custom.php.
releaseLock | ( | Smarty | $smarty, |
Smarty_Template_Cached | $cached | ||
) |
Unlock cache for this template.
Smarty | $smarty | Smarty object |
Smarty_Template_Cached | $cached | cached object |
Definition at line 229 of file smarty_cacheresource_custom.php.
|
abstractprotected |
Save content to cache.
string | $id | unique cache content identifier |
string | $name | template name |
string | $cache_id | cache id |
string | $compile_id | compile id |
integer | null | $exp_time | seconds till expiration or null |
string | $content | content to cache |
writeCachedContent | ( | Smarty_Internal_Template | $_template, |
$content | |||
) |
Write the rendered template output to cache.
Smarty_Internal_Template | $_template | template object |
string | $content | content to cache |
Definition at line 147 of file smarty_cacheresource_custom.php.
This documentation for Open ecommerce PEEL Shopping and PEEL.fr has been generated by Doxygen on Thu Oct 15 2015 14:41:43 - is a product of SAS. All rights reserved.