API17:JCacheStorageFile
From Joomla! Documentation
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.
[Edit Descripton]
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.
Defined in
libraries/joomla/cache/storage/file.php
- see source code in BitBucket
Subpackage
Extends
Extended by
Methods
| Method name | Description |
|---|---|
| __construct | Constructor. |
| clean | Clean cache for a group given a mode. |
| gc | Garbage collect expired cache data. |
| get | Get cached data from a file by id and group. |
| getAll | Get all cached data. |
| lock | Lock cached item. |
| remove | Remove a cached data file by id and group. |
| store | Store the data to a file by id and group. |
| unlock | Unlock cached item. |
| test | Test to see if the cache storage is available. |
Importing
jimport( 'joomla.cache.storage.file' );
See also
- JCacheStorageFile source code in BitBucket
- Other versions of this class
SeeAlso:JCacheStorageFile [Edit See Also]
Examples
<CodeExamplesForm />
