patTemplate_TemplateCache_File
Description
patTemplate Template cache that stores data on filesystem
$Id: File.php 47 2005-09-15 02:55:27Z rhuk $
Possible parameters for the cache are:
- cacheFolder : set the folder from which to load the cache
- lifetime : seconds for which the cache is valid, if set to auto, it will check whether the cache is older than the original file (if the reader supports this)
- prefix for the filenames
Located in /pattemplate/patTemplate/TemplateCache/File.php (line 30)
patTemplate_Module patTemplate_TemplateCache patTemplate_TemplateCache_File (Subpackage Caches)
Method Summary
Variables
Methods
load (line 54)
load template from cache
array|boolean
load
(string $key, [integer $modTime = -1])
- string $key: cache key
- integer $modTime: modification time of original template
Redefinition of:
- patTemplate_TemplateCache::load()
- load template from cache
write (line 89)
write template to cache
boolean
write
(string $key, array $templates)
- string $key: cache key
- array $templates: templates to store
Redefinition of:
- patTemplate_TemplateCache::write()
- write template to cache
Inherited Methods
Inherited From patTemplate_TemplateCache
patTemplate_TemplateCache::getKey()
patTemplate_TemplateCache::load()
patTemplate_TemplateCache::write()
Inherited From patTemplate_Module
patTemplate_Module::getName()
patTemplate_Module::getParam()
patTemplate_Module::setParams()
Documentation generated on Mon, 05 Mar 2007 20:58:39 +0000 by phpDocumentor 1.3.1