JCache/1.5

From Joomla! Documentation
< JCache
Revision as of 16:15, 17 April 2011 by Doxiki2 (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

[Edit Descripton] 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

Defined in

libraries/joomla/cache/cache.php

Subpackage

Cache

Extends

JObject

Extended by

Methods

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

Importing

jimport( 'joomla.cache.cache' );

See also

[Edit See Also] SeeAlso:JCache

Examples

<CodeExamplesForm />


Personal tools
Namespaces

Variants
Actions
Navigation
Joomla! Sites
Toolbox