JCacheStorage/1.5
From Joomla! Documentation
JCacheStorage
Description
JCacheStorage is an abstract class. The class needs to be extended by concrete storage handlers. The Joomla Framework currently provides the handlers JCacheStorageApc, JCacheStorageEaccelarator, JCacheStorageFile, JCacheStorageMemcache, JCacheStorageXCache, JCacheStorageXcache [Edit Descripton]
Methods
| Visibility | Method name | Description |
|---|---|---|
| public | __construct | Constructor. |
| 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 | remove | Remove a cached data entry by id and group. |
| public | store | Store the data to cache by id and group. |
| public | getInstance | Returns a reference to a cache storage hanlder object, only creating it if it doesn't already exist. |
| public | test | Test to see if the storage handler is available. |
- Defined in libraries/joomla/cache/storage.php
- Extends JObject
- Extended by
Importing
jimport( 'joomla.cache.storage' );
See also
-
JCacheStorage on api.joomla.org
-
JCacheStorage source code on JoomlaCode
-
Subpackage Cache
- Other versions of JCacheStorage
SeeAlso:JCacheStorage [Edit See Also]
User contributed notes
<CodeExamplesForm />