patTemplate_Stat
Description
Base class for patTemplate Stat
$Id: Stat.php 47 2005-09-15 02:55:27Z rhuk $
A stat component should be implemented for each reader to support caching. Stats return information about the template source.
Located in /pattemplate/patTemplate/Stat.php (line 33)
patTemplate_Module patTemplate_Stat (Subpackage Stat)
Direct descendents
Class | Description |
---|---|
patTemplate_Stat_File | Base class for patTemplate Stat |
Method Summary
Variables
Inherited Variables
Inherited from patTemplate_Module
patTemplate_Module::$_name
patTemplate_Module::$_params
Methods
getModificationTime (line 54)
get the modification time of a template
Needed, if a template cache should be used, that auto-expires the cache.
integer
getModificationTime
(mixed $input)
- mixed $input: input to read from. This can be a string, a filename, a resource or whatever the derived class needs to read from
Redefined in descendants as:
- patTemplate_Stat_File::getModificationTime() : get the modification time of a template
setOptions (line 65)
set options
void
setOptions
(array $options)
- array $options: array containing options
Inherited Methods
Inherited From patTemplate_Module
patTemplate_Module::getName()
patTemplate_Module::getParam()
patTemplate_Module::setParams()
Documentation generated on Mon, 05 Mar 2007 21:26:52 +0000 by phpDocumentor 1.3.1