JCacheStorageFile/1.5

From Joomla! Documentation
< JCacheStorageFile
Revision as of 16:16, 17 April 2011 by Doxiki2 (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

[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

Subpackage

Cache

Extends

JCacheStorage

Extended by

Methods

Method name Description
__construct Constructor.
_getFilePath Get a cache file path from an id/group pair.
_setExpire Check to make sure cache is still valid, if not, delete it.
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.
remove Remove a cached data file by id and group.
store Store the data to a file by id and group.
test Test to see if the cache storage is available.

Importing

jimport( 'joomla.cache.storage.file' );

See also

[Edit See Also] SeeAlso:JCacheStorageFile

Examples

<CodeExamplesForm />


Personal tools
Namespaces

Variants
Actions
Navigation
Joomla! Sites
Toolbox