API16

API16:JCache

From Joomla! Documentation

Revision as of 22:37, 22 March 2010 by Doxiki (talk | contribs) (New page: <span class="editsection" style="font-size:76%;"> <nowiki>[</nowiki>Edit Descripton<nowiki>]</nowiki> </span> {{Description:JCache}} ===Defined in=== librari...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

[Edit Descripton] Template:Description:JCache

Defined in

libraries/joomla/cache/cache.php

Methods

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

Importing

jimport( 'joomla.cache.cache' );

[Edit See Also] Template:SeeAlso:JCache

Examples

<CodeExamplesForm />