JCacheStorageFile
From Joomla! Documentation
(Difference between revisions)
(→Concrete Cache Storage Handlers) |
(→See also) |
||
| Line 45: | Line 45: | ||
===See also=== | ===See also=== | ||
| − | * [http://api.joomla.org/Joomla-Framework/Cache/ | + | * [http://api.joomla.org/Joomla-Framework/Cache/JCacheStorageFile.html JCacheStorageFile on api.joomla.org] |
* [[JCache]] | * [[JCache]] | ||
==== Concrete Caching Handlers ==== | ==== Concrete Caching Handlers ==== | ||
Revision as of 16:13, 9 August 2009
JCacheStorageFile is a concrete cache storage handler, storing the cache data in files. In the Joomla CMS the default storage directory is the cache/ directory.
Contents |
Availability
Defined in
/libraries/joomla/cache/storage/file.php
Extends
Methods
| Method name | Description |
|---|---|
| __construct | Constructor |
| clean | Clean cache for a group. There are two possible modes:
"group" mode : cleans all cache in the group | "notgroup" mode : cleans all cache not in the group |
| gc | Garbage collect expired cache data |
| get | Get cached data by id and group |
| remove | Remove a cached data entry by id and group |
| store | Store the data by id and group |
| test | Test to see if the cache storage is available |
Importing
jimport( 'joomla.cache.storage.file' );