Actions

API17

Difference between revisions of "JCacheController"

From Joomla! Documentation

(Layout updates)
m (moving preparation)
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
 +
=={{JVer|11.1}} JCacheController==
 +
===Description===
 +
{{Description:JCacheController}}
 
<span class="editsection" style="font-size:76%;">
 
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[Description:JCacheController|Edit Descripton]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[Description:JCacheController|Edit Descripton]]<nowiki>]</nowiki>
 
</span>
 
</span>
{{Description:JCacheController}}
 
===Defined in===
 
libraries/joomla/cache/controller.php
 
* see source code in [[jplatform:cache/controller.php|BitBucket]]
 
===Subpackage===
 
[[Subpackage Cache/11.1|Cache]]
 
===Extends===
 
===Extended by===
 
* [[JCacheControllerCallback/11.1|JCacheControllerCallback]]
 
* [[JCacheControllerOutput/11.1|JCacheControllerOutput]]
 
* [[JCacheControllerPage/11.1|JCacheControllerPage]]
 
* [[JCacheControllerView/11.1|JCacheControllerView]]
 
 
===Methods===
 
===Methods===
 
{| class="wikitable sortable"
 
{| class="wikitable sortable"
 
|-
 
|-
 +
!Visibility
 
!Method name
 
!Method name
 
!Description
 
!Description
 
|-
 
|-
|[[JCacheController::__call/11.1|__call]]
+
|public
 +
|[[API17:JCacheController::__call|__call]]
 
|
 
|
 
|-
 
|-
|[[JCacheController::__construct/11.1|__construct]]
+
|public
 +
|[[API17:JCacheController::__construct|__construct]]
 
|Constructor.  
 
|Constructor.  
 
|-
 
|-
|[[JCacheController::get/11.1|get]]
+
|public
 +
|[[API17:JCacheController::get|get]]
 
|Get stored cached data by id and group.  
 
|Get stored cached data by id and group.  
 
|-
 
|-
|[[JCacheController::setCaching/11.1|setCaching]]
+
|public
 +
|[[API17:JCacheController::setCaching|setCaching]]
 
|Set caching enabled state.  
 
|Set caching enabled state.  
 
|-
 
|-
|[[JCacheController::setLifeTime/11.1|setLifeTime]]
+
|public
 +
|[[API17:JCacheController::setLifeTime|setLifeTime]]
 
|Set cache lifetime.  
 
|Set cache lifetime.  
 
|-
 
|-
|[[JCacheController::store/11.1|store]]
+
|public
 +
|[[API17:JCacheController::store|store]]
 
|Store data to cache by id and group.  
 
|Store data to cache by id and group.  
 
|-
 
|-
|[[JCacheController::addIncludePath/11.1|addIncludePath]]
+
|public static
 +
|[[API17:JCacheController::addIncludePath|addIncludePath]]
 
|Add a directory where  should search for controllers.  
 
|Add a directory where  should search for controllers.  
 
|-
 
|-
|[[JCacheController::getInstance/11.1|getInstance]]
+
|public static
 +
|[[API17:JCacheController::getInstance|getInstance]]
 
|Returns a reference to a cache adapter object, always creating it.  
 
|Returns a reference to a cache adapter object, always creating it.  
 
|-
 
|-
 
|}
 
|}
 +
* '''Defined in''' libraries/joomla/cache/controller.php
 +
* '''Extended by'''
 +
** [[API17:JCacheControllerCallback|JCacheControllerCallback]]
 +
** [[API17:JCacheControllerOutput|JCacheControllerOutput]]
 +
** [[API17:JCacheControllerPage|JCacheControllerPage]]
 +
** [[API17:JCacheControllerView|JCacheControllerView]]
 
===Importing===
 
===Importing===
 
<source lang="php">jimport( 'joomla.cache.controller' );</source>
 
<source lang="php">jimport( 'joomla.cache.controller' );</source>
 
===See also===
 
===See also===
* JCacheController source code in [[jplatform:cache/controller.php|BitBucket]]
+
* {{JVer|11.1}} '''JCacheController source code''' on [[jplatform:cache/controller.php|BitBucket]]
* [[JCacheController|Other versions of this class]]
+
* {{JVer|11.1}} Subpackage [[API17:Subpackage Cache|Cache]]
 +
* [[API17:JCacheController|Other versions of JCacheController]]
 
{{SeeAlso:JCacheController}}
 
{{SeeAlso:JCacheController}}
 
<span class="editsection" style="font-size:76%;">
 
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[SeeAlso:JCacheController|Edit See Also]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[SeeAlso:JCacheController|Edit See Also]]<nowiki>]</nowiki>
 
</span>
 
</span>
===Examples===
+
===User contributed notes===
 
<CodeExamplesForm />
 
<CodeExamplesForm />
 
<dpl>
 
<dpl>
Line 63: Line 70:
 
category=ClassExample
 
category=ClassExample
 
include=*
 
include=*
 +
namespace=CodeExample
 
format= ,,,
 
format= ,,,
 
</dpl>
 
</dpl>
<noinclude>[[Category:Platform]][[Category:Platform 11.1]][[Category:JCacheController]]</noinclude>
+
<noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude>

Latest revision as of 19:49, 11 May 2013

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.

Joomla 11.1 JCacheController

Description

Description:JCacheController [Edit Descripton]

Methods

Visibility Method name Description
public __call
public __construct Constructor.
public get Get stored cached data by id and group.
public setCaching Set caching enabled state.
public setLifeTime Set cache lifetime.
public store Store data to cache by id and group.
public static addIncludePath Add a directory where should search for controllers.
public static getInstance Returns a reference to a cache adapter object, always creating it.

Importing

jimport( 'joomla.cache.controller' );

See also

  • Joomla 11.1 JCacheController source code on BitBucket
  • Joomla 11.1 Subpackage Cache
  • Other versions of JCacheController

SeeAlso:JCacheController [Edit See Also]

User contributed notes

<CodeExamplesForm />