JCache/1.5
From Joomla! Documentation
[Edit Descripton] JCache is an abstract class which defines Joomla's basic caching functionality. The class needs to be extended by a concrete cache handler. The Joomla Framework currently provides the handlers JCacheView, JCachePage, JCacheCallback and JCacheOutput
Defined in
libraries/joomla/cache/cache.php
Subpackage
Extends
Extended by
Methods
| Method name | Description |
|---|---|
| __construct | Constructor. |
| _getStorage | Get the cache storage handler. |
| clean | Clean cache for a group given a mode. |
| gc | Garbage collect expired cache data. |
| get | Get cached data by id and group. |
| getStores | Get the storage handlers. |
| remove | Remove a cached data entry by id and group. |
| setCacheValidation | Set cache validation. |
| setCaching | Set caching enabled state. |
| setLifeTime | Set cache lifetime. |
| store | Store the cached data by id and group. |
| getInstance | Returns a reference to a cache adapter object, always creating it. |
Importing
jimport( 'joomla.cache.cache' );
See also
[Edit See Also] SeeAlso:JCache
Examples
<CodeExamplesForm />