JCacheStorageApc/1.5

From Joomla! Documentation
< JCacheStorageApc(Difference between revisions)
Jump to: navigation, search
(Bulk upload by Doxiki2)
 
m (See also: fixing link to API)
 
(One intermediate revision by one user not shown)
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
 +
=={{JVer|1.5}} JCacheStorageApc==
 +
===Description===
 +
{{Description:JCacheStorageApc}}
 
<span class="editsection" style="font-size:76%;">
 
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[Description:JCacheStorageApc|Edit Descripton]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[Description:JCacheStorageApc|Edit Descripton]]<nowiki>]</nowiki>
 
</span>
 
</span>
{{Description:JCacheStorageApc}}
 
===Defined in===
 
libraries/joomla/cache/storage/apc.php
 
===Subpackage===
 
[[Subpackage Cache/1.5|Cache]]
 
===Extends===
 
[[JCacheStorage/1.5|JCacheStorage]]
 
===Extended by===
 
 
===Methods===
 
===Methods===
 
{| class="wikitable sortable"
 
{| class="wikitable sortable"
 
|-
 
|-
 +
!Visibility
 
!Method name
 
!Method name
 
!Description
 
!Description
 
|-
 
|-
 +
|public
 
|[[JCacheStorageApc::__construct/1.5|__construct]]
 
|[[JCacheStorageApc::__construct/1.5|__construct]]
 
|Constructor.  
 
|Constructor.  
 
|-
 
|-
 +
|public
 
|[[JCacheStorageApc::_getCacheId/1.5|_getCacheId]]
 
|[[JCacheStorageApc::_getCacheId/1.5|_getCacheId]]
 
|Get a cache_id string from an id/group pair.  
 
|Get a cache_id string from an id/group pair.  
 
|-
 
|-
 +
|public
 
|[[JCacheStorageApc::_setExpire/1.5|_setExpire]]
 
|[[JCacheStorageApc::_setExpire/1.5|_setExpire]]
 
|Set expire time on each call since memcache sets it on cache creation.  
 
|Set expire time on each call since memcache sets it on cache creation.  
 
|-
 
|-
 +
|public
 
|[[JCacheStorageApc::clean/1.5|clean]]
 
|[[JCacheStorageApc::clean/1.5|clean]]
 
|Clean cache for a group given a mode.  
 
|Clean cache for a group given a mode.  
 
|-
 
|-
 +
|public
 
|[[JCacheStorageApc::get/1.5|get]]
 
|[[JCacheStorageApc::get/1.5|get]]
 
|Get cached data from APC by id and group.  
 
|Get cached data from APC by id and group.  
 
|-
 
|-
 +
|public
 
|[[JCacheStorageApc::remove/1.5|remove]]
 
|[[JCacheStorageApc::remove/1.5|remove]]
 
|Remove a cached data entry by id and group.  
 
|Remove a cached data entry by id and group.  
 
|-
 
|-
 +
|public
 
|[[JCacheStorageApc::store/1.5|store]]
 
|[[JCacheStorageApc::store/1.5|store]]
 
|Store the data to APC by id and group.  
 
|Store the data to APC by id and group.  
 
|-
 
|-
 +
|public
 
|[[JCacheStorageApc::test/1.5|test]]
 
|[[JCacheStorageApc::test/1.5|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/apc.php
 +
* '''Extends''' [[JCacheStorage/1.5|JCacheStorage]]
 
===Importing===
 
===Importing===
 
<source lang="php">jimport( 'joomla.cache.storage.apc' );</source>
 
<source lang="php">jimport( 'joomla.cache.storage.apc' );</source>
 
===See also===
 
===See also===
 +
* {{JVer|1.5}} '''JCacheStorageApc''' on [http://api.joomla.org/1.5/Joomla-Framework/Cache/JCacheStorageApc.html api.joomla.org]
 +
* {{JVer|1.5}} '''JCacheStorageApc source code''' on [[jframework15:cache/storage/apc.php|JoomlaCode]]
 +
* {{JVer|1.5}} Subpackage [[Subpackage Cache/1.5|Cache]]
 +
* [[JCacheStorageApc|Other versions of JCacheStorageApc]]
 +
{{SeeAlso:JCacheStorageApc}}
 
<span class="editsection" style="font-size:76%;">
 
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[SeeAlso:JCacheStorageApc|Edit See Also]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[SeeAlso:JCacheStorageApc|Edit See Also]]<nowiki>]</nowiki>
 
</span>
 
</span>
{{SeeAlso:JCacheStorageApc}}
+
===User contributed notes===
* [[JCacheStorageApc|Other versions of this class]]
+
* [http://api.joomla.org/Joomla-Framework/Cache/JCacheStorageApc.html JCacheStorageApc on api.joomla.org]
+
===Examples===
+
 
<CodeExamplesForm />
 
<CodeExamplesForm />
 
<dpl>
 
<dpl>
Line 59: Line 67:
 
category=ClassExample
 
category=ClassExample
 
include=*
 
include=*
 +
namespace=CodeExample
 
format= ,,,
 
format= ,,,
 
</dpl>
 
</dpl>
 
<noinclude>[[Category:Framework]][[Category:Framework 1.5]][[Category:JCacheStorageApc]]</noinclude>
 
<noinclude>[[Category:Framework]][[Category:Framework 1.5]][[Category:JCacheStorageApc]]</noinclude>

Latest revision as of 14:15, 13 February 2013

[edit] Joomla 1.5 JCacheStorageApc

[edit] Description

JCacheStorageApc is a concrete cache storage handler using PHP Cache (APC). [Edit Descripton]

[edit] Methods

Visibility Method name Description
public __construct Constructor.
public _getCacheId Get a cache_id string from an id/group pair.
public _setExpire Set expire time on each call since memcache sets it on cache creation.
public clean Clean cache for a group given a mode.
public get Get cached data from APC by id and group.
public remove Remove a cached data entry by id and group.
public store Store the data to APC by id and group.
public test Test to see if the cache storage is available.
  • Defined in libraries/joomla/cache/storage/apc.php
  • Extends JCacheStorage

[edit] Importing

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

[edit] See also

SeeAlso:JCacheStorageApc [Edit See Also]

[edit] User contributed notes

<CodeExamplesForm />


Personal tools
Namespaces

Variants
Actions
Navigation
Joomla! Sites
Toolbox