JCache/1.5
From Joomla! Documentation
JCache
Description
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 [Edit Descripton]
Methods
| Visibility | Method name | Description |
|---|---|---|
| public | __construct | Constructor. |
| public | _getStorage | Get the cache storage handler. |
| 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 | getStores | Get the storage handlers. |
| public | remove | Remove a cached data entry by id and group. |
| public | setCacheValidation | Set cache validation. |
| public | setCaching | Set caching enabled state. |
| public | setLifeTime | Set cache lifetime. |
| public | store | Store the cached data by id and group. |
| public | getInstance | Returns a reference to a cache adapter object, always creating it. |
- Defined in libraries/joomla/cache/cache.php
- Extends JObject
- Extended by
Importing
jimport( 'joomla.cache.cache' );
See also
-
JCache on api.joomla.org
-
JCache source code on JoomlaCode
-
Subpackage Cache
- Other versions of JCache
SeeAlso:JCache [Edit See Also]
User contributed notes
<CodeExamplesForm />