API16

JCacheStorage: Difference between revisions

From Joomla! Documentation

Doxiki (talk | contribs)
New page: <span class="editsection" style="font-size:76%;"> <nowiki>[</nowiki>Edit Descripton<nowiki>]</nowiki> </span> {{Description:JCacheStorage}} ===Defined ...
 
Doxiki (talk | contribs)
No edit summary
Line 36: Line 36:
|Test to see if the storage handler is available.
|Test to see if the storage handler is available.
|}
|}
===Importing===
===Importing===
<source lang="php">jimport( 'joomla.cache.storage' );</source>
<source lang="php">jimport( 'joomla.cache.storage' );</source>

Revision as of 10:01, 30 March 2010

[Edit Descripton] Template:Description:JCacheStorage

Defined in

libraries/joomla/cache/storage.php

Methods

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

jimport( 'joomla.cache.storage' );

[Edit See Also] Template:SeeAlso:JCacheStorage

Examples

<CodeExamplesForm />