API17

Difference between revisions of "JCacheStorage"

From Joomla! Documentation

(Bulk upload by Doxiki2)
 
(Layout updates)
Line 6: Line 6:
 
===Defined in===
 
===Defined in===
 
libraries/joomla/cache/storage.php
 
libraries/joomla/cache/storage.php
 +
* see source code in [[jplatform:cache/storage.php|BitBucket]]
 
===Subpackage===
 
===Subpackage===
 
[[Subpackage Cache/11.1|Cache]]
 
[[Subpackage Cache/11.1|Cache]]
Line 66: Line 67:
 
<source lang="php">jimport( 'joomla.cache.storage' );</source>
 
<source lang="php">jimport( 'joomla.cache.storage' );</source>
 
===See also===
 
===See also===
 +
* JCacheStorage source code in [[jplatform:cache/storage.php|BitBucket]]
 
* [[JCacheStorage|Other versions of this class]]
 
* [[JCacheStorage|Other versions of this class]]
 
{{SeeAlso:JCacheStorage}}
 
{{SeeAlso:JCacheStorage}}

Revision as of 16:50, 23 April 2011

The "API17" 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.

[Edit Descripton] Template:Description:JCacheStorage

Defined in[edit]

libraries/joomla/cache/storage.php

Subpackage[edit]

Cache

Extends[edit]

Extended by[edit]

Methods[edit]

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[edit]

jimport( 'joomla.cache.storage' );

See also[edit]

Template:SeeAlso:JCacheStorage [Edit See Also]

Examples[edit]

<CodeExamplesForm />