JCache/1.5

From Joomla! Documentation
< JCache
Revision as of 18:06, 25 April 2011 by Doxiki2 (Talk | contribs)

Jump to: navigation, search

Joomla 1.5 JCache

Description

JCache is an abstract class which defines Joomla's basic caching functionality. The class needs to be extended by a concrete cache handler. The Joomla Framework currently provides the handlers JCacheView, JCachePage, JCacheCallback and JCacheOutput [Edit Descripton]

Methods

Visibility Method name Description
public __construct Constructor.
public _getStorage Get the cache storage handler.
public clean Clean cache for a group given a mode.
public gc Garbage collect expired cache data.
public get Get cached data by id and group.
public getStores Get the storage handlers.
public remove Remove a cached data entry by id and group.
public setCacheValidation Set cache validation.
public setCaching Set caching enabled state.
public setLifeTime Set cache lifetime.
public store Store the cached data by id and group.
public getInstance Returns a reference to a cache adapter object, always creating it.

Importing

jimport( 'joomla.cache.cache' );

See also

SeeAlso:JCache [Edit See Also]

User contributed notes

<CodeExamplesForm />


Personal tools
Namespaces

Variants
Actions
Navigation
Joomla! Sites
Toolbox