API16

JCacheStorageMemcache: 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:JCacheStorageMemcache}...
 
Doxiki (talk | contribs)
No edit summary
Line 39: Line 39:
|Test to see if the cache storage is available.
|Test to see if the cache storage is available.
|}
|}
===Importing===
===Importing===
<source lang="php">jimport( 'joomla.cache.storage.memcache' );</source>
<source lang="php">jimport( 'joomla.cache.storage.memcache' );</source>

Revision as of 10:02, 30 March 2010

[Edit Descripton] Template:Description:JCacheStorageMemcache

Defined in

libraries/joomla/cache/storage/memcache.php

Methods

Method name Description
__construct Constructor
get Get cached data from memcache by id and group
store Store the data to memcache 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
getConnection return memcache connection object
getConfig Return memcache related configuration
test Test to see if the cache storage is available.

Importing

jimport( 'joomla.cache.storage.memcache' );

[Edit See Also] Template:SeeAlso:JCacheStorageMemcache

Examples

<CodeExamplesForm />