JCacheStorageFile/1.5
From Joomla! Documentation
JCacheStorageFile
Description
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.
[Edit Descripton]
Methods
| Visibility | Method name | Description |
|---|---|---|
| public | __construct | Constructor. |
| public | _getFilePath | Get a cache file path from an id/group pair. |
| public | _setExpire | Check to make sure cache is still valid, if not, delete it. |
| public | clean | Clean cache for a group given a mode. |
| public | gc | Garbage collect expired cache data. |
| public | get | Get cached data from a file by id and group. |
| public | remove | Remove a cached data file by id and group. |
| public | store | Store the data to a file by id and group. |
| public | test | Test to see if the cache storage is available. |
- Defined in libraries/joomla/cache/storage/file.php
- Extends JCacheStorage
Importing
jimport( 'joomla.cache.storage.file' );
See also
-
JCacheStorageFile on api.joomla.org
-
JCacheStorageFile source code on JoomlaCode
-
Subpackage Cache
- Other versions of JCacheStorageFile
SeeAlso:JCacheStorageFile [Edit See Also]
User contributed notes
<CodeExamplesForm />