JCacheStorageXCache: Difference between revisions
From Joomla! Documentation
New page: <span class="editsection" style="font-size:76%;">
<nowiki>[</nowiki>Edit Descripton<nowiki>]</nowiki>
</span>
{{Description:JCacheStorageXCache}}
... |
m preparing for archive only |
||
| (2 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
[[JCacheStorageXCache]] is a concrete cache storage handler, using the [http://xcache.lighttpd.net/ XCache caching system]. | |||
===Defined in=== | ===Defined in=== | ||
| Line 30: | Line 27: | ||
|Test to see if the cache storage is available. | |Test to see if the cache storage is available. | ||
|} | |} | ||
===Importing=== | ===Importing=== | ||
<source lang="php">jimport( 'joomla.cache.storage.xcache' );</source> | <source lang="php">jimport( 'joomla.cache.storage.xcache' );</source> | ||
===Examples=== | ===Examples=== | ||
=== Code Examples === | |||
<dpl> | <dpl> | ||
noresultsheader=\n | noresultsheader=\n | ||
category=JCacheStorageXCache | category=JCacheStorageXCache | ||
namespace=CodeExample | |||
category=ClassExample | category=ClassExample | ||
include=* | include=* | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
Latest revision as of 00:23, 25 March 2017
JCacheStorageXCache is a concrete cache storage handler, using the XCache caching system.
Defined in
libraries/joomla/cache/storage/xcache.php
Methods
| Method name | Description |
|---|---|
| __construct | Constructor |
| get | Get cached data by id and group |
| store | Store the data by id and group |
| remove | Remove a cached data entry by id and group |
| clean | Clean cache for a group given a mode. |
| test | Test to see if the cache storage is available. |
Importing
jimport( 'joomla.cache.storage.xcache' );
Examples
Code Examples