API17

JCacheStorageXcache: Difference between revisions

From Joomla! Documentation

m User contributed notes: bad link repair
m preparing for archive only
 
(4 intermediate revisions by the same user not shown)
Line 2: Line 2:
=={{JVer|11.1}} JCacheStorageXcache==
=={{JVer|11.1}} JCacheStorageXcache==
===Description===
===Description===
{{Description:JCacheStorageXcache}}
 
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[Description:JCacheStorageXcache|Edit Descripton]]<nowiki>]</nowiki>
</span>
===Methods===
===Methods===
{| class="wikitable sortable"
{| class="wikitable sortable"
Line 14: Line 12:
|-
|-
|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}}
 
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[SeeAlso:JCacheStorageXcache|Edit See Also]]<nowiki>]</nowiki>
</span>
===User contributed notes===
===User contributed notes===
<CodeExamplesForm />
=== Code Examples ===
<dpl>
<dpl>
noresultsheader=\n
noresultsheader=\n
category=JCacheStorageXcache
category=JCacheStorageXcache
category=CodeExample
namespace=CodeExample
category=ClassExample
category=ClassExample
include=*
include=*
Line 65: Line 61:
format= ,,,
format= ,,,
</dpl>
</dpl>
<noinclude>[[Category:Platform JClasses]][[Category:Platform 11.1]][[Category:JCacheStorageXcache]]</noinclude>
<noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude>

Latest revision as of 02:28, 25 March 2017

Joomla 11.1 JCacheStorageXcache

Description

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


User contributed notes

Code Examples