API17

Difference between revisions of "JCacheStorageCachelite"

From Joomla! Documentation

(Bulk upload by Doxiki2)
 
m (→‎User contributed notes: bad link repair)
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
 +
=={{JVer|11.1}} JCacheStorageCachelite==
 +
===Description===
 +
{{Description:JCacheStorageCachelite}}
 
<span class="editsection" style="font-size:76%;">
 
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[Description:JCacheStorageCachelite|Edit Descripton]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[Description:JCacheStorageCachelite|Edit Descripton]]<nowiki>]</nowiki>
 
</span>
 
</span>
{{Description:JCacheStorageCachelite}}
 
===Defined in===
 
libraries/joomla/cache/storage/cachelite.php
 
===Subpackage===
 
[[Subpackage Cache/11.1|Cache]]
 
===Extends===
 
[[JCacheStorage/11.1|JCacheStorage]]
 
===Extended by===
 
 
===Methods===
 
===Methods===
 
{| class="wikitable sortable"
 
{| class="wikitable sortable"
 
|-
 
|-
 +
!Visibility
 
!Method name
 
!Method name
 
!Description
 
!Description
 
|-
 
|-
 +
|public
 
|[[JCacheStorageCachelite::__construct/11.1|__construct]]
 
|[[JCacheStorageCachelite::__construct/11.1|__construct]]
 
|Constructor.  
 
|Constructor.  
 
|-
 
|-
 +
|public
 
|[[JCacheStorageCachelite::clean/11.1|clean]]
 
|[[JCacheStorageCachelite::clean/11.1|clean]]
 
|Clean cache for a group given a mode.  
 
|Clean cache for a group given a mode.  
 
|-
 
|-
 +
|public
 
|[[JCacheStorageCachelite::gc/11.1|gc]]
 
|[[JCacheStorageCachelite::gc/11.1|gc]]
 
|Garbage collect expired cache data.  
 
|Garbage collect expired cache data.  
 
|-
 
|-
 +
|public
 
|[[JCacheStorageCachelite::get/11.1|get]]
 
|[[JCacheStorageCachelite::get/11.1|get]]
 
|Get cached data from a file by id and group.  
 
|Get cached data from a file by id and group.  
 
|-
 
|-
 +
|public
 
|[[JCacheStorageCachelite::getAll/11.1|getAll]]
 
|[[JCacheStorageCachelite::getAll/11.1|getAll]]
 
|Get all cached data.  
 
|Get all cached data.  
 
|-
 
|-
 +
|public
 
|[[JCacheStorageCachelite::remove/11.1|remove]]
 
|[[JCacheStorageCachelite::remove/11.1|remove]]
 
|Remove a cached data file by id and group.  
 
|Remove a cached data file by id and group.  
 
|-
 
|-
 +
|public
 
|[[JCacheStorageCachelite::store/11.1|store]]
 
|[[JCacheStorageCachelite::store/11.1|store]]
 
|Store the data to a file by id and group.  
 
|Store the data to a file by id and group.  
 
|-
 
|-
 +
|public static
 
|[[JCacheStorageCachelite::test/11.1|test]]
 
|[[JCacheStorageCachelite::test/11.1|test]]
 
|Test to see if the cache storage is available.  
 
|Test to see if the cache storage is available.  
 
|-
 
|-
 
|}
 
|}
 +
* '''Defined in''' libraries/joomla/cache/storage/cachelite.php
 +
* '''Extends''' [[JCacheStorage/11.1|JCacheStorage]]
 
===Importing===
 
===Importing===
 
<source lang="php">jimport( 'joomla.cache.storage.cachelite' );</source>
 
<source lang="php">jimport( 'joomla.cache.storage.cachelite' );</source>
 
===See also===
 
===See also===
* [[JCacheStorageCachelite|Other versions of this class]]
+
* {{JVer|11.1}} '''JCacheStorageCachelite source code''' on [[jplatform:cache/storage/cachelite.php|BitBucket]]
 +
* {{JVer|11.1}} Subpackage [[Subpackage Cache/11.1|Cache]]
 +
* [[JCacheStorageCachelite|Other versions of JCacheStorageCachelite]]
 
{{SeeAlso:JCacheStorageCachelite}}
 
{{SeeAlso:JCacheStorageCachelite}}
 
<span class="editsection" style="font-size:76%;">
 
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[SeeAlso:JCacheStorageCachelite|Edit See Also]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[SeeAlso:JCacheStorageCachelite|Edit See Also]]<nowiki>]</nowiki>
 
</span>
 
</span>
===Examples===
+
===User contributed notes===
 
<CodeExamplesForm />
 
<CodeExamplesForm />
 
<dpl>
 
<dpl>
Line 58: Line 66:
 
category=ClassExample
 
category=ClassExample
 
include=*
 
include=*
 +
namespace=CodeExample
 
format= ,,,
 
format= ,,,
 
</dpl>
 
</dpl>
<noinclude>[[Category:Platform]][[Category:Platform 11.1]][[Category:JCacheStorageCachelite]]</noinclude>
+
<noinclude>[[Category:Platform JClasses]][[Category:Platform 11.1]][[Category:JCacheStorageCachelite]]</noinclude>

Revision as of 13:31, 29 August 2012

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.

Joomla 11.1 JCacheStorageCachelite[edit]

Description[edit]

Template:Description:JCacheStorageCachelite [Edit Descripton]

Methods[edit]

Visibility Method name Description
public __construct Constructor.
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 getAll Get all cached data.
public remove Remove a cached data file by id and group.
public store Store the data to a file by id and group.
public static test Test to see if the cache storage is available.
  • Defined in libraries/joomla/cache/storage/cachelite.php
  • Extends JCacheStorage

Importing[edit]

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

See also[edit]

Template:SeeAlso:JCacheStorageCachelite [Edit See Also]

User contributed notes[edit]

<CodeExamplesForm />