JCacheStorageXCache/1.5
From Joomla! Documentation
< JCacheStorageXCache(Difference between revisions)
(Bulk upload by Doxiki2) |
m (→See also: fixing link to API) |
||
| (One intermediate revision by one user not shown) | |||
| Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
| + | =={{JVer|1.5}} 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::__construct/1.5|__construct]] | |[[JCacheStorageXCache::__construct/1.5|__construct]] | ||
|Constructor. | |Constructor. | ||
|- | |- | ||
| + | |public | ||
|[[JCacheStorageXCache::_getCacheId/1.5|_getCacheId]] | |[[JCacheStorageXCache::_getCacheId/1.5|_getCacheId]] | ||
|Get a cache_id string from an id/group pair. | |Get a cache_id string from an id/group pair. | ||
|- | |- | ||
| + | |public | ||
|[[JCacheStorageXCache::clean/1.5|clean]] | |[[JCacheStorageXCache::clean/1.5|clean]] | ||
|Clean cache for a group given a mode. | |Clean cache for a group given a mode. | ||
|- | |- | ||
| + | |public | ||
|[[JCacheStorageXCache::get/1.5|get]] | |[[JCacheStorageXCache::get/1.5|get]] | ||
|Get cached data by id and group. | |Get cached data by id and group. | ||
|- | |- | ||
| + | |public | ||
|[[JCacheStorageXCache::remove/1.5|remove]] | |[[JCacheStorageXCache::remove/1.5|remove]] | ||
|Remove a cached data entry by id and group. | |Remove a cached data entry by id and group. | ||
|- | |- | ||
| + | |public | ||
|[[JCacheStorageXCache::store/1.5|store]] | |[[JCacheStorageXCache::store/1.5|store]] | ||
|Store the data by id and group. | |Store the data by id and group. | ||
|- | |- | ||
| + | |public | ||
|[[JCacheStorageXCache::test/1.5|test]] | |[[JCacheStorageXCache::test/1.5|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/1.5|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|1.5}} '''JCacheStorageXCache''' on [http://api.joomla.org/1.5/Joomla-Framework/Cache/JCacheStorageXCache.html api.joomla.org] | ||
| + | * {{JVer|1.5}} '''JCacheStorageXCache source code''' on [[jframework15:cache/storage/xcache.php|JoomlaCode]] | ||
| + | * {{JVer|1.5}} Subpackage [[Subpackage Cache/1.5|Cache]] | ||
| + | * [[JCacheStorageXCache|Other versions of 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 56: | Line 63: | ||
category=ClassExample | category=ClassExample | ||
include=* | include=* | ||
| + | namespace=CodeExample | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
<noinclude>[[Category:Framework]][[Category:Framework 1.5]][[Category:JCacheStorageXCache]]</noinclude> | <noinclude>[[Category:Framework]][[Category:Framework 1.5]][[Category:JCacheStorageXCache]]</noinclude> | ||
Latest revision as of 14:15, 13 February 2013
[edit]
JCacheStorageXCache
[edit] Description
JCacheStorageXCache is a concrete cache storage handler, using the XCache caching system. [Edit Descripton]
[edit] Methods
| Visibility | Method name | Description |
|---|---|---|
| public | __construct | Constructor. |
| public | _getCacheId | Get a cache_id string from an id/group pair. |
| public | clean | Clean cache for a group given a mode. |
| public | get | Get cached data by id and group. |
| public | remove | Remove a cached data entry by id and group. |
| public | store | Store the data by id and group. |
| public | test | Test to see if the cache storage is available. |
- Defined in libraries/joomla/cache/storage/xcache.php
- Extends JCacheStorage
[edit] Importing
jimport( 'joomla.cache.storage.xcache' );
[edit] See also
-
JCacheStorageXCache on api.joomla.org
-
JCacheStorageXCache source code on JoomlaCode
-
Subpackage Cache
- Other versions of JCacheStorageXCache
SeeAlso:JCacheStorageXCache [Edit See Also]
[edit] User contributed notes
<CodeExamplesForm />