| | |
| | | * @access public |
| | | */ |
| | | |
| | | |
| | | class tplc extends tpl { |
| | | |
| | | /*-----------------------------------------------------------------------------\ |
| | |
| | | return true; |
| | | } |
| | | |
| | | |
| | | /** |
| | | * FUNCTION: recache |
| | | * alias for clearCache(). |
| | |
| | | function recache() { |
| | | return $this->clearCache(); |
| | | } |
| | | |
| | | |
| | | /** |
| | | * FUNCTION: setCacheLifeTime |
| | |
| | | $this->OPTIONS['CACHE_LIFETIME'] = $int; |
| | | return true; |
| | | } |
| | | |
| | | |
| | | /** |
| | | * FUNCTION: setCacheExtension |
| | |
| | | /*----------------------------------------\ |
| | | Private Functions |
| | | -----------------------------------------*/ |
| | | |
| | | |
| | | /** |
| | | * FUNCTION: _checkCache |
| | |
| | | return $this->OPTIONS['CACHE_DIRECTORY'].'/'.md5('vlibCachestaR'.realpath($tmplfile)).'.'.$this->OPTIONS['CACHE_EXTENSION']; |
| | | } |
| | | |
| | | |
| | | /** |
| | | * FUNCTION: _createCache |
| | | * creates the cached file |
| | |
| | | return true; |
| | | } |
| | | |
| | | |
| | | /** |
| | | * FUNCTION: _prepareDirs |
| | | * prepares the directory structure |