| [ Index ] |
PHP Cross Reference of vtigercrm-6.1.0 |
[Source view] [Print] [Project Stats]
Smarty Internal Plugin
| File Size: | 238 lines (8 kb) |
| Included or required: | 0 times |
| Referenced: | 0 times |
| Includes or requires: | 0 files |
| fetchTimestamp($id, $name, $cache_id, $compile_id) X-Ref |
| Fetch cached content's modification timestamp from data source {@internal implementing this method is optional. Only implement it if modification times can be accessed faster than loading the complete cached content.}} param: string $id unique cache content identifier param: string $name template name param: string $cache_id cache id param: string $compile_id compile id return: integer|boolean timestamp (epoch) the template was modified, or false if not found |
| populate(Smarty_Template_Cached $cached, Smarty_Internal_Template $_template) X-Ref |
| populate Cached Object with meta data from Resource param: Smarty_Template_Cached $cached cached object param: Smarty_Internal_Template $_template template object return: void |
| populateTimestamp(Smarty_Template_Cached $cached) X-Ref |
| populate Cached Object with timestamp and exists from Resource param: Smarty_Template_Cached $source cached object return: void |
| process(Smarty_Internal_Template $_template, Smarty_Template_Cached $cached=null) X-Ref |
| Read the cached template and process the header param: Smarty_Internal_Template $_template template object param: Smarty_Template_Cached $cached cached object return: booelan true or false if the cached content does not exist |
| writeCachedContent(Smarty_Internal_Template $_template, $content) X-Ref |
| Write the rendered template output to cache param: Smarty_Internal_Template $_template template object param: string $content content to cache return: boolean success |
| clearAll(Smarty $smarty, $exp_time=null) X-Ref |
| Empty cache param: Smarty $smarty Smarty object param: integer $exp_time expiration time (number of seconds, not timestamp) return: integer number of cache files deleted |
| clear(Smarty $smarty, $resource_name, $cache_id, $compile_id, $exp_time) X-Ref |
| Empty cache for a specific template param: Smarty $smarty Smarty object param: string $resource_name template name param: string $cache_id cache id param: string $compile_id compile id param: integer $exp_time expiration time (number of seconds, not timestamp) return: integer number of cache files deleted |
| hasLock(Smarty $smarty, Smarty_Template_Cached $cached) X-Ref |
| Check is cache is locked for this template param: Smarty $smarty Smarty object param: Smarty_Template_Cached $cached cached object return: booelan true or false if cache is locked |
| acquireLock(Smarty $smarty, Smarty_Template_Cached $cached) X-Ref |
| Lock cache for this template param: Smarty $smarty Smarty object param: Smarty_Template_Cached $cached cached object |
| releaseLock(Smarty $smarty, Smarty_Template_Cached $cached) X-Ref |
| Unlock cache for this template param: Smarty $smarty Smarty object param: Smarty_Template_Cached $cached cached object |
| Generated: Fri Nov 28 20:08:37 2014 | Cross-referenced by PHPXref 0.7.1 |