Difference between revisions of "JCacheStorageXcache"
From Joomla! Documentation
(Bulk upload by Doxiki2) |
m (→User contributed notes: bad link repair) |
||
(2 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
+ | =={{JVer|11.1}} JCacheStorageXcache== | ||
+ | ===Description=== | ||
+ | {{Description:JCacheStorageXcache}} | ||
<span class="editsection" style="font-size:76%;"> | <span class="editsection" style="font-size:76%;"> | ||
<nowiki>[</nowiki>[[Description:JCacheStorageXcache|Edit Descripton]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[Description:JCacheStorageXcache|Edit Descripton]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
===Methods=== | ===Methods=== | ||
{| class="wikitable sortable" | {| class="wikitable sortable" | ||
|- | |- | ||
+ | !Visibility | ||
!Method name | !Method name | ||
!Description | !Description | ||
|- | |- | ||
+ | |public | ||
|[[JCacheStorageXcache::clean/11.1|clean]] | |[[JCacheStorageXcache::clean/11.1|clean]] | ||
|Clean cache for a group given a mode. | |Clean cache for a group given a mode. | ||
|- | |- | ||
+ | |public | ||
|[[JCacheStorageXcache::gc/11.1|gc]] | |[[JCacheStorageXcache::gc/11.1|gc]] | ||
|Garbage collect expired cache data. | |Garbage collect expired cache data. | ||
|- | |- | ||
+ | |public | ||
|[[JCacheStorageXcache::get/11.1|get]] | |[[JCacheStorageXcache::get/11.1|get]] | ||
|Get cached data by id and group. | |Get cached data by id and group. | ||
|- | |- | ||
+ | |public | ||
|[[JCacheStorageXcache::getAll/11.1|getAll]] | |[[JCacheStorageXcache::getAll/11.1|getAll]] | ||
|Get all cached data. | |Get all cached data. | ||
|- | |- | ||
+ | |public | ||
|[[JCacheStorageXcache::remove/11.1|remove]] | |[[JCacheStorageXcache::remove/11.1|remove]] | ||
|Remove a cached data entry by id and group. | |Remove a cached data entry by id and group. | ||
|- | |- | ||
+ | |public | ||
|[[JCacheStorageXcache::store/11.1|store]] | |[[JCacheStorageXcache::store/11.1|store]] | ||
|Store the data by id and group. | |Store the data by id and group. | ||
|- | |- | ||
+ | |public static | ||
|[[JCacheStorageXcache::test/11.1|test]] | |[[JCacheStorageXcache::test/11.1|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''' [[JCacheStorage/11.1|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 | + | * {{JVer|11.1}} '''JCacheStorageXcache source code''' on [[jplatform:cache/storage/xcache.php|BitBucket]] |
+ | * {{JVer|11.1}} Subpackage [[Subpackage Cache/11.1|Cache]] | ||
+ | * [[JCacheStorageXcache|Other versions of JCacheStorageXcache]] | ||
{{SeeAlso:JCacheStorageXcache}} | {{SeeAlso:JCacheStorageXcache}} | ||
<span class="editsection" style="font-size:76%;"> | <span class="editsection" style="font-size:76%;"> | ||
<nowiki>[</nowiki>[[SeeAlso:JCacheStorageXcache|Edit See Also]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[SeeAlso:JCacheStorageXcache|Edit See Also]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
− | === | + | ===User contributed notes=== |
<CodeExamplesForm /> | <CodeExamplesForm /> | ||
<dpl> | <dpl> | ||
Line 55: | Line 62: | ||
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 JClasses]][[Category:Platform 11.1]][[Category:JCacheStorageXcache]]</noinclude> |
Revision as of 13:31, 29 August 2012
The "API17" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.
JCacheStorageXcache[edit]
Description[edit]
Template:Description:JCacheStorageXcache [Edit Descripton]
Methods[edit]
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[edit]
jimport( 'joomla.cache.storage.xcache' );
See also[edit]
- JCacheStorageXcache source code on BitBucket
- Subpackage Cache
- Other versions of JCacheStorageXcache
Template:SeeAlso:JCacheStorageXcache [Edit See Also]
User contributed notes[edit]
<CodeExamplesForm />