JCacheStorageFile/1.5
From Joomla! Documentation
< JCacheStorageFile(Difference between revisions)
(Layout updates) |
m (→See also: fixing link to API) |
||
| Line 55: | Line 55: | ||
<source lang="php">jimport( 'joomla.cache.storage.file' );</source> | <source lang="php">jimport( 'joomla.cache.storage.file' );</source> | ||
===See also=== | ===See also=== | ||
| − | * {{JVer|1.5}} '''JCacheStorageFile''' on [http://api.joomla.org/Joomla-Framework/Cache/JCacheStorageFile.html api.joomla.org] | + | * {{JVer|1.5}} '''JCacheStorageFile''' on [http://api.joomla.org/1.5/Joomla-Framework/Cache/JCacheStorageFile.html api.joomla.org] |
* {{JVer|1.5}} '''JCacheStorageFile source code''' on [[jframework15:cache/storage/file.php|JoomlaCode]] | * {{JVer|1.5}} '''JCacheStorageFile source code''' on [[jframework15:cache/storage/file.php|JoomlaCode]] | ||
* {{JVer|1.5}} Subpackage [[Subpackage Cache/1.5|Cache]] | * {{JVer|1.5}} Subpackage [[Subpackage Cache/1.5|Cache]] | ||
Latest revision as of 14:15, 13 February 2013
[edit]
JCacheStorageFile
[edit] 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]
[edit] 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
[edit] Importing
jimport( 'joomla.cache.storage.file' );
[edit] See also
-
JCacheStorageFile on api.joomla.org
-
JCacheStorageFile source code on JoomlaCode
-
Subpackage Cache
- Other versions of JCacheStorageFile
SeeAlso:JCacheStorageFile [Edit See Also]
[edit] User contributed notes
<CodeExamplesForm />