API17

JCacheStorageXcache: Difference between revisions

From Joomla! Documentation

Doxiki2 (talk | contribs)
Bulk upload by Doxiki2
 
m preparing for archive only
 
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
__NOTOC__
__NOTOC__
<span class="editsection" style="font-size:76%;">
=={{JVer|11.1}} JCacheStorageXcache==
<nowiki>[</nowiki>[[Description:JCacheStorageXcache|Edit Descripton]]<nowiki>]</nowiki>
===Description===
</span>
 
{{Description:JCacheStorageXcache}}
 
===Defined in===
libraries/joomla/cache/storage/xcache.php
===Subpackage===
[[Subpackage Cache/11.1|Cache]]
===Extends===
[[JCacheStorage/11.1|JCacheStorage]]
===Extended by===
===Methods===
===Methods===
{| class="wikitable sortable"
{| class="wikitable sortable"
|-
|-
!Visibility
!Method name
!Method name
!Description
!Description
|-
|-
|[[JCacheStorageXcache::clean/11.1|clean]]
|public
|[[API17:JCacheStorageXcache::clean|clean]]
|Clean cache for a group given a mode.  
|Clean cache for a group given a mode.  
|-
|-
|[[JCacheStorageXcache::gc/11.1|gc]]
|public
|[[API17:JCacheStorageXcache::gc|gc]]
|Garbage collect expired cache data.  
|Garbage collect expired cache data.  
|-
|-
|[[JCacheStorageXcache::get/11.1|get]]
|public
|[[API17:JCacheStorageXcache::get|get]]
|Get cached data by id and group.  
|Get cached data by id and group.  
|-
|-
|[[JCacheStorageXcache::getAll/11.1|getAll]]
|public
|[[API17:JCacheStorageXcache::getAll|getAll]]
|Get all cached data.  
|Get all cached data.  
|-
|-
|[[JCacheStorageXcache::remove/11.1|remove]]
|public
|[[API17:JCacheStorageXcache::remove|remove]]
|Remove a cached data entry by id and group.  
|Remove a cached data entry by id and group.  
|-
|-
|[[JCacheStorageXcache::store/11.1|store]]
|public
|[[API17:JCacheStorageXcache::store|store]]
|Store the data by id and group.  
|Store the data by id and group.  
|-
|-
|[[JCacheStorageXcache::test/11.1|test]]
|public static
|[[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
* '''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===
* [[JCacheStorageXcache|Other versions of this class]]
* {{JVer|11.1}} '''JCacheStorageXcache source code''' on [[jplatform:cache/storage/xcache.php|BitBucket]]
{{SeeAlso:JCacheStorageXcache}}
* {{JVer|11.1}} Subpackage [[API17:Subpackage Cache|Cache]]
<span class="editsection" style="font-size:76%;">
* [[API17:JCacheStorageXcache|Other versions of JCacheStorageXcache]]
<nowiki>[</nowiki>[[SeeAlso:JCacheStorageXcache|Edit See Also]]<nowiki>]</nowiki>
 
</span>
 
===Examples===
===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=*
namespace=CodeExample
format= ,,,
format= ,,,
</dpl>
</dpl>
<noinclude>[[Category:Platform]][[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