API17

JCacheStorageXcache: Difference between revisions

From Joomla! Documentation

m User contributed notes: moving preparation
m moving preparation
Line 14: Line 14:
|-
|-
|public  
|public  
|[[JCacheStorageXcache::clean/11.1|clean]]
|[[API17:JCacheStorageXcache::clean|clean]]
|Clean cache for a group given a mode.  
|Clean cache for a group given a mode.  
|-
|-
|public  
|public  
|[[JCacheStorageXcache::gc/11.1|gc]]
|[[API17:JCacheStorageXcache::gc|gc]]
|Garbage collect expired cache data.  
|Garbage collect expired cache data.  
|-
|-
|public  
|public  
|[[JCacheStorageXcache::get/11.1|get]]
|[[API17:JCacheStorageXcache::get|get]]
|Get cached data by id and group.  
|Get cached data by id and group.  
|-
|-
|public  
|public  
|[[JCacheStorageXcache::getAll/11.1|getAll]]
|[[API17:JCacheStorageXcache::getAll|getAll]]
|Get all cached data.  
|Get all cached data.  
|-
|-
|public  
|public  
|[[JCacheStorageXcache::remove/11.1|remove]]
|[[API17:JCacheStorageXcache::remove|remove]]
|Remove a cached data entry by id and group.  
|Remove a cached data entry by id and group.  
|-
|-
|public  
|public  
|[[JCacheStorageXcache::store/11.1|store]]
|[[API17:JCacheStorageXcache::store|store]]
|Store the data by id and group.  
|Store the data by id and group.  
|-
|-
|public static  
|public static  
|[[JCacheStorageXcache::test/11.1|test]]
|[[API17:JCacheStorageXcache::test|test]]
|Test to see if the cache storage is available.  
|Test to see if the cache storage is available.  
|-
|-
|}
|}
* '''Defined in''' libraries/joomla/cache/storage/xcache.php
* '''Defined in''' libraries/joomla/cache/storage/xcache.php
* '''Extends''' [[JCacheStorage/11.1|JCacheStorage]]
* '''Extends''' [[API17:JCacheStorage|JCacheStorage]]
===Importing===
===Importing===
<source lang="php">jimport( 'joomla.cache.storage.xcache' );</source>
<source lang="php">jimport( 'joomla.cache.storage.xcache' );</source>
===See also===
===See also===
* {{JVer|11.1}} '''JCacheStorageXcache source code''' on [[jplatform:cache/storage/xcache.php|BitBucket]]
* {{JVer|11.1}} '''JCacheStorageXcache source code''' on [[jplatform:cache/storage/xcache.php|BitBucket]]
* {{JVer|11.1}} Subpackage [[Subpackage Cache/11.1|Cache]]
* {{JVer|11.1}} Subpackage [[API17:Subpackage Cache|Cache]]
* [[JCacheStorageXcache|Other versions of JCacheStorageXcache]]
* [[API17:JCacheStorageXcache|Other versions of JCacheStorageXcache]]
{{SeeAlso:JCacheStorageXcache}}
{{SeeAlso:JCacheStorageXcache}}
<span class="editsection" style="font-size:76%;">
<span class="editsection" style="font-size:76%;">

Revision as of 00:54, 12 May 2013

Joomla 11.1 JCacheStorageXcache

Description

Template:Description:JCacheStorageXcache [Edit Descripton]

Methods

Visibility Method name Description
public clean Clean cache for a group given a mode.
public gc Garbage collect expired cache data.
public get Get cached data by id and group.
public getAll Get all cached data.
public remove Remove a cached data entry by id and group.
public store Store the data by id and group.
public static test Test to see if the cache storage is available.
  • Defined in libraries/joomla/cache/storage/xcache.php
  • Extends JCacheStorage

Importing

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

See also

Template:SeeAlso:JCacheStorageXcache [Edit See Also]

User contributed notes

<CodeExamplesForm />