API16

JCacheStorage

From Joomla! Documentation

Revision as of 05:01, 30 March 2010 by Doxiki (talk | contribs)

The "API16" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.

[Edit Descripton] Template:Description:JCacheStorage

Defined in[edit]

libraries/joomla/cache/storage.php

Methods[edit]

Method name Description
__construct Constructor
get Get cached data by id and group
store Store the data to cache 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 cache storage hanlder object, only creating it if it doesn't already exist.
test Test to see if the storage handler is available.

Importing[edit]

jimport( 'joomla.cache.storage' );

[Edit See Also] Template:SeeAlso:JCacheStorage

Examples[edit]

<CodeExamplesForm />