JCacheStorageFile

From Joomla! Documentation
(Difference between revisions)
Jump to: navigation, search
(Concrete Cache Storage Handlers)
m (bad link repair)
 
(4 intermediate revisions by one user not shown)
Line 1: Line 1:
'''JCacheStorageFile''' is a concrete cache storage handler, storing the cache data in files. In the Joomla CMS the default storage directory is the <code>cache/</code> directory.
+
This class is available in the following Joomla versions:-
 
+
<splist showpath=notparent />
===Availability===
+
<noinclude>[[Category:Platform JClasses]][[Category:JCacheStorageFile]]</noinclude>
{{JVer|1.5|From Joomla 1.5}} {{JVer|1.6|Joomla 1.6}}
+
 
+
===Defined in===
+
/libraries/joomla/cache/storage/file.php
+
 
+
===Extends===
+
* [[JObject]]
+
* [[JCacheStorage]]
+
 
+
===Methods===
+
{| class="wikitable"
+
|-
+
!Method name
+
!Description
+
|-
+
|[[JCacheStorageFile/__construct|__construct]]
+
|Constructor
+
|-
+
|[[JCacheStorageFile/clean|clean]]
+
|Clean cache for a group. There are two possible modes:
+
"group" mode : cleans all cache in the group |
+
"notgroup" mode : cleans all cache not in the group
+
|-
+
|[[JCacheStorageFile/gc|gc]]
+
|Garbage collect expired cache data
+
|-
+
|[[JCacheStorageFile/get|get]]
+
|Get cached data by id and group
+
|-
+
|[[JCacheStorageFile/remove|remove]]
+
|Remove a cached data entry by id and group
+
|-
+
|[[JCacheStorageFile/store|store]]
+
|Store the data by id and group
+
|-
+
|[[JCacheStorageFile/test|test]]
+
|Test to see if the cache storage is available
+
|}
+
 
+
===Importing===
+
<source lang="php">jimport( 'joomla.cache.storage.file' );</source>
+
 
+
===See also===
+
* [http://api.joomla.org/Joomla-Framework/Cache/JCacheStorageFile.html JCacheStorageFile on api.joomla.org]
+
* [[JCache]]
+
==== Concrete Caching Handlers ====
+
* [[JCacheView]]
+
* [[JCachePage]]
+
* [[JCacheCallback]]
+
* [[JCacheOutput]]
+
====Abstract Cache Storage Handler ====
+
* [[JCacheStorage]]
+
 
+
==== Concrete Cache Storage Handlers ====
+
* [[JCacheStorageApc]]
+
* [[JCacheStorageEaccelerator]]
+
* [[JCacheStorageFile]]
+
* [[JCacheStorageMemcache]]
+
* [[JCacheStorageXCache]]
+
* [[JSessionStorageXcache]]
+
<noinclude>[[Category:Development]][[Category:Framework]][[Category:JCache]]</noinclude>
+

Latest revision as of 13:31, 29 August 2012

This class is available in the following Joomla versions:-

Personal tools
Namespaces

Variants
Actions
Navigation
Joomla! Sites
Toolbox