Difference between revisions of "JCacheStorageXcache"
From Joomla! Documentation
(Updated to r1448:247ba8d88526) |
m (preparing for archive only) |
||
(5 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
=={{JVer|11.1}} JCacheStorageXcache== | =={{JVer|11.1}} JCacheStorageXcache== | ||
===Description=== | ===Description=== | ||
− | + | ||
− | + | ||
− | |||
− | |||
===Methods=== | ===Methods=== | ||
{| class="wikitable sortable" | {| class="wikitable sortable" | ||
Line 14: | Line 12: | ||
|- | |- | ||
|public | |public | ||
− | |[[JCacheStorageXcache::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 | + | |[[API17:JCacheStorageXcache::gc|gc]] |
|Garbage collect expired cache data. | |Garbage collect expired cache data. | ||
|- | |- | ||
|public | |public | ||
− | |[[JCacheStorageXcache::get | + | |[[API17:JCacheStorageXcache::get|get]] |
|Get cached data by id and group. | |Get cached data by id and group. | ||
|- | |- | ||
|public | |public | ||
− | |[[JCacheStorageXcache::getAll | + | |[[API17:JCacheStorageXcache::getAll|getAll]] |
|Get all cached data. | |Get all cached data. | ||
|- | |- | ||
|public | |public | ||
− | |[[JCacheStorageXcache::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 | + | |[[API17:JCacheStorageXcache::store|store]] |
|Store the data by id and group. | |Store the data by id and group. | ||
|- | |- | ||
|public static | |public static | ||
− | |[[JCacheStorageXcache::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 | + | * '''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 | + | * {{JVer|11.1}} Subpackage [[API17:Subpackage Cache|Cache]] |
− | * [[JCacheStorageXcache|Other versions of JCacheStorageXcache]] | + | * [[API17:JCacheStorageXcache|Other versions of JCacheStorageXcache]] |
− | + | ||
− | + | ||
− | |||
− | |||
===User contributed notes=== | ===User contributed notes=== | ||
− | + | === Code Examples === | |
<dpl> | <dpl> | ||
noresultsheader=\n | noresultsheader=\n | ||
category=JCacheStorageXcache | category=JCacheStorageXcache | ||
− | + | namespace=CodeExample | |
category=ClassExample | category=ClassExample | ||
include=* | include=* | ||
Line 65: | Line 61: | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
− | <noinclude> | + | <noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude> |
Latest revision as of 21:28, 24 March 2017
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]
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
User contributed notes[edit]
Code Examples[edit]