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_TemplateCache_MMCache

Description

patTemplate Template cache that stores data in the eAccelerator Cache

If the lifetime is set to auto, the cache files will be kept until you delete them manually.

$Id: MMCache.php 364 2005-02-19 09:39:45Z schst $

Located in /pattemplate/patTemplate/TemplateCache/MMCache.php (line 27)

Abstract class patTemplate_Module

Abstract class patTemplate_TemplateCache
   
   Class patTemplate_TemplateCache_MMCache   (Subpackage Caches)
Method Summary
Method array|boolean load (string $key, [integer $modTime = -1])
Method boolean write (string $key, array $templates)
Variables

Inherited Variables

Inherited from patTemplate_Module

Variable patTemplate_Module::$_name
Methods
load (line 45)

load template from cache

  • return: either an array containing the templates or false cache could not be loaded
  • access: public
array|boolean load (string $key, [integer $modTime = -1])
  • string $key: cache key
  • integer $modTime: modification time of original template

Redefinition of:
patTemplate_TemplateCache::load()
load template from cache
write (line 67)

write template to cache

  • return: true on success
  • access: public
boolean write (string $key, array $templates)
  • string $key: cache key
  • array $templates: templates to store

Redefinition of:
patTemplate_TemplateCache::write()
write template to cache

Inherited Methods

Inherited From patTemplate_TemplateCache

 patTemplate_TemplateCache::getKey()
 patTemplate_TemplateCache::load()
 patTemplate_TemplateCache::write()

Inherited From patTemplate_Module

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

Documentation generated on Mon, 05 Mar 2007 21:10:49 +0000 by phpDocumentor 1.3.1