Class patTemplate_Stat_File

Description

Base class for patTemplate Stat

$Id: File.php,v 1.1 2004/05/17 18:40:54 schst Exp $

A stat component should be implemented for each reader to support caching. Stats return information about the template source.

Located in /includes/patTemplate/patTemplate/Stat/File.php (line 29)

patTemplate_Module
   |
   --patTemplate_Stat
      |
      --patTemplate_Stat_File
Method Summary
integer getModificationTime (mixed $input)
Variables
Methods
getModificationTime (line 42)

get the modification time of a template

Needed, if a template cache should be used, that auto-expires the cache.

  • return: unix timestamp
  • abstract: must be implemented in the template readers
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

Redefinition of:
patTemplate_Stat::getModificationTime()
get the modification time of a template

Inherited Methods

Inherited From patTemplate_Stat

patTemplate_Stat::getModificationTime()
patTemplate_Stat::setOptions()

Inherited From patTemplate_Module

patTemplate_Module::getName()
patTemplate_Module::getParam()
patTemplate_Module::setParams()

Documentation generated on Fri, 4 Mar 2005 13:56:15 +1000 by phpDocumentor 1.3.0RC3