![]() |
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 | |
| getTemplateUid (Smarty $smarty, $resource_name, $cache_id, $compile_id) | |
| Get template's unique ID. More... | |
| sanitize ($string) | |
| Sanitize CacheID components. More... | |
| fetch ($cid, $resource_name=null, $cache_id=null, $compile_id=null, &$content=null, &$timestamp=null, $resource_uid=null) | |
| Fetch and prepare a cache object. More... | |
| addMetaTimestamp (&$content) | |
| Add current microtime to the beginning of $cache_content. More... | |
| getMetaTimestamp (&$content) | |
| Extract the timestamp the $content was cached. More... | |
| invalidate ($cid=null, $resource_name=null, $cache_id=null, $compile_id=null, $resource_uid=null) | |
| Invalidate CacheID. More... | |
| getLatestInvalidationTimestamp ($cid, $resource_name=null, $cache_id=null, $compile_id=null, $resource_uid=null) | |
| Determine the latest timestamp known to the invalidation chain. More... | |
| listInvalidationKeys ($cid, $resource_name=null, $cache_id=null, $compile_id=null, $resource_uid=null) | |
| Translate a CacheID into the list of applicable InvalidationKeys. More... | |
| read (array $keys) | |
| Read values for a set of keys from cache. More... | |
| write (array $keys, $expire=null) | |
| Save values for a set of keys to cache. More... | |
| delete (array $keys) | |
| Remove values from cache. More... | |
| purge () | |
| Remove all values from cache. More... | |
Protected Attributes | |
| $contents = array() | |
| $timestamps = array() | |
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 34 of file smarty_cacheresource_keyvaluestore.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 406 of file smarty_cacheresource_keyvaluestore.php.
|
protected |
Add current microtime to the beginning of $cache_content.
{
Definition at line 246 of file smarty_cacheresource_keyvaluestore.php.
| clear | ( | Smarty | $smarty, |
| $resource_name, | |||
| $cache_id, | |||
| $compile_id, | |||
| $exp_time | |||
| ) |
Empty cache for a specific template.
{
Definition at line 154 of file smarty_cacheresource_keyvaluestore.php.
| clearAll | ( | Smarty | $smarty, |
$exp_time = null |
|||
| ) |
|
abstractprotected |
Remove values from cache.
| array | $keys | list of keys to delete |
|
protected |
Fetch and prepare a cache object.
| string | $cid | CacheID to fetch |
| string | $resource_name | template name |
| string | $cache_id | cache id |
| string | $compile_id | compile id |
| string | $content | cached content |
| integer | &$timestamp | cached timestamp (epoch) |
| string | $resource_uid | resource's uid |
Definition at line 222 of file smarty_cacheresource_keyvaluestore.php.
|
protected |
Determine the latest timestamp known to the invalidation chain.
| string | $cid | CacheID to determine latest invalidation timestamp of |
| string | $resource_name | template name |
| string | $cache_id | cache id |
| string | $compile_id | compile id |
| string | $resource_uid | source's filepath |
Definition at line 314 of file smarty_cacheresource_keyvaluestore.php.
|
protected |
Extract the timestamp the $content was cached.
| string | &$content | the cached content |
Definition at line 259 of file smarty_cacheresource_keyvaluestore.php.
|
protected |
Get template's unique ID.
| Smarty | $smarty | Smarty object |
| string | $resource_name | template name |
| string | $cache_id | cache id |
| string | $compile_id | compile id |
Definition at line 171 of file smarty_cacheresource_keyvaluestore.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 393 of file smarty_cacheresource_keyvaluestore.php.
|
protected |
Invalidate CacheID.
| string | $cid | CacheID |
| string | $resource_name | template name |
| string | $cache_id | cache id |
| string | $compile_id | compile id |
| string | $resource_uid | source's uid |
Definition at line 277 of file smarty_cacheresource_keyvaluestore.php.
|
protected |
Translate a CacheID into the list of applicable InvalidationKeys.
Splits "some|chain|into|an|array" into array( 'clearAll#', 'some', 'some|chain', 'some|chain|into', ... )
| string | $cid | CacheID to translate |
| string | $resource_name | template name |
| string | $cache_id | cache id |
| string | $compile_id | compile id |
| string | $resource_uid | source's filepath |
Definition at line 347 of file smarty_cacheresource_keyvaluestore.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 54 of file smarty_cacheresource_keyvaluestore.php.
| populateTimestamp | ( | Smarty_Template_Cached | $cached | ) |
populate Cached Object with timestamp and exists from Resource
| Smarty_Template_Cached | $cached | cached object |
Definition at line 70 of file smarty_cacheresource_keyvaluestore.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 87 of file smarty_cacheresource_keyvaluestore.php.
|
protected |
Remove all values from cache.
Definition at line 456 of file smarty_cacheresource_keyvaluestore.php.
|
abstractprotected |
Read values for a set of keys from cache.
| array | $keys | list of keys to fetch |
| 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 419 of file smarty_cacheresource_keyvaluestore.php.
|
protected |
Sanitize CacheID components.
| string | $string | CacheID component to sanitize |
Definition at line 200 of file smarty_cacheresource_keyvaluestore.php.
|
abstractprotected |
Save values for a set of keys to cache.
| array | $keys | list of values to save |
| int | $expire | expiration time |
| 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 114 of file smarty_cacheresource_keyvaluestore.php.
|
protected |
Definition at line 40 of file smarty_cacheresource_keyvaluestore.php.
|
protected |
Definition at line 45 of file smarty_cacheresource_keyvaluestore.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.