Actions

API17

JCacheStorage

From Joomla! Documentation

Revision as of 15:45, 20 April 2011 by Doxiki2 (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Replacement filing cabinet.png
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] JCacheStorage is an abstract class. The class needs to be extended by concrete storage handlers. The Joomla Framework currently provides the handlers JCacheStorageApc, JCacheStorageEaccelarator, JCacheStorageFile, JCacheStorageMemcache, JCacheStorageXCache, JCacheStorageXcache

Defined in

libraries/joomla/cache/storage.php

Subpackage

Cache

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 by id and group.
getAll Get all cached data.
lock Lock cached item.
remove Remove a cached data entry by id and group.
store Store the data to cache by id and group.
unlock Unlock cached item.
addIncludePath Add a directory where should search for handlers.
getInstance Returns a cache storage handler object, only creating it if it doesn't already exist.
test Test to see if the storage handler is available.
_getCacheId Get a cache_id string from an id/group pair.

Importing

jimport( 'joomla.cache.storage' );

See also

SeeAlso:JCacheStorage [Edit See Also]

Examples

<CodeExamplesForm />