[ Index ]

PHP Cross Reference of Joomla 1.5.26 DE

title

Body

[close]

/libraries/pattemplate/patTemplate/ -> TemplateCache.php (summary)

Base class for patTemplate template cache $Id: TemplateCache.php 10381 2008-06-01 03:35:53Z pasamio $

Author: Stephan Schmidt <schst@php.net>
File Size: 83 lines (2 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

patTemplate_TemplateCache:: (3 methods):
  load()
  write()
  getKey()


Class: patTemplate_TemplateCache  - X-Ref

Base class for patTemplate template cache

$Id: TemplateCache.php 10381 2008-06-01 03:35:53Z pasamio $

A template cache is used to cache the data after
the template has been read, but before the variables
have been added.

Data is normally stored in serialized format. This
will increase performance.

This is not related to an output cache!

load( $key, $modTime = -1 )   X-Ref
load template from cache

param: string            cache key
param: integer            modification time of original template
return: array|boolean    either an array containing the templates or false cache could not be loaded

write( $key, $templates )   X-Ref
write template to cache

param: string        cache key
param: array        templates to store

getKey( $input, $options = array()   X-Ref
get the cache key for the input

param: mixed    input to read from.
param: array    options
return: string    key



Generated: Wed Mar 28 15:54:07 2012 Cross-referenced by PHPXref 0.7.1