JCacheStorageFile
From Joomla! Documentation
The "API16" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.
- 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[edit]
libraries/joomla/cache/storage/file.php
Methods[edit]
Method name | Description |
---|---|
__construct | Constructor |
get | Get cached data from a file by id and group |
store | Store the data to a file by id and group |
remove | Remove a cached data file by id and group |
clean | Clean cache for a group given a mode. |
gc | Garbage collect expired cache data |
test | Test to see if the cache storage is available. |
Importing[edit]
jimport( 'joomla.cache.storage.file' );
Examples[edit]
Code Examples[edit]