Support Joomla!

Joomla! 1.5 Documentation

Packages

Package: patTemplate

Developer Network License

The Joomla! Developer Network content is © copyright 2006 by the individual contributors and can be used in accordance with the Creative Commons License, Attribution- NonCommercial- ShareAlike 2.5

 Class patTemplate_Stat_File

Description

Base class for patTemplate Stat

$Id: File.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/File.php (line 32)

Abstract class patTemplate_Module

Abstract class patTemplate_Stat
   
   Class patTemplate_Stat_File   (Subpackage Stat)
Method Summary
Abstract method integer getModificationTime (mixed $input)
Methods
getModificationTime (line 45)

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 Mon, 05 Mar 2007 20:58:43 +0000 by phpDocumentor 1.3.1