API16:JCache
From Joomla! Documentation
[Edit Descripton] Template:Description:JCache
Defined in
libraries/joomla/cache/cache.php
Methods
| Method name | Description |
|---|---|
| __construct | Constructor |
| getStores | Get the storage handlers |
| setCaching | Set caching enabled state |
| setLifeTime | Set cache lifetime |
| get | Get cached data by id and group |
| store | Store the cached data by id and group |
| remove | Remove a cached data entry by id and group |
| clean | Clean cache for a group given a mode. |
| gc | Garbage collect expired cache data |
| getInstance | Returns a reference to a cache adapter object, always creating it |
Importing
jimport( 'joomla.cache.cache' );
[Edit See Also] Template:SeeAlso:JCache
Examples
<CodeExamplesForm />