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

Abstract Class 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)

Abstract class patTemplate_Module

Abstract class patTemplate_Stat   (Subpackage Stat)
Direct descendents
Class Description
ClasspatTemplate_Stat_File Base class for patTemplate Stat
Method Summary
Abstract method integer getModificationTime (mixed $input)
Method void setOptions (array $options)
Methods
getModificationTime (line 54)

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

Redefined in descendants as:
setOptions (line 65)

set options

  • access: public
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