Actions

API17

Difference between revisions of "JCacheController"

From Joomla! Documentation

(Bulk upload by Doxiki2)
 
m (User contributed notes: bad link repair)
(2 intermediate revisions by one user 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
 
===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
 
|-
 
|-
 +
|public
 
|[[JCacheController::__call/11.1|__call]]
 
|[[JCacheController::__call/11.1|__call]]
 
|
 
|
 
|-
 
|-
 +
|public
 
|[[JCacheController::__construct/11.1|__construct]]
 
|[[JCacheController::__construct/11.1|__construct]]
 
|Constructor.  
 
|Constructor.  
 
|-
 
|-
 +
|public
 
|[[JCacheController::get/11.1|get]]
 
|[[JCacheController::get/11.1|get]]
 
|Get stored cached data by id and group.  
 
|Get stored cached data by id and group.  
 
|-
 
|-
 +
|public
 
|[[JCacheController::setCaching/11.1|setCaching]]
 
|[[JCacheController::setCaching/11.1|setCaching]]
 
|Set caching enabled state.  
 
|Set caching enabled state.  
 
|-
 
|-
 +
|public
 
|[[JCacheController::setLifeTime/11.1|setLifeTime]]
 
|[[JCacheController::setLifeTime/11.1|setLifeTime]]
 
|Set cache lifetime.  
 
|Set cache lifetime.  
 
|-
 
|-
 +
|public
 
|[[JCacheController::store/11.1|store]]
 
|[[JCacheController::store/11.1|store]]
 
|Store data to cache by id and group.  
 
|Store data to cache by id and group.  
 
|-
 
|-
 +
|public static
 
|[[JCacheController::addIncludePath/11.1|addIncludePath]]
 
|[[JCacheController::addIncludePath/11.1|addIncludePath]]
 
|Add a directory where  should search for controllers.  
 
|Add a directory where  should search for controllers.  
 
|-
 
|-
 +
|public static
 
|[[JCacheController::getInstance/11.1|getInstance]]
 
|[[JCacheController::getInstance/11.1|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'''
 +
** [[JCacheControllerCallback/11.1|JCacheControllerCallback]]
 +
** [[JCacheControllerOutput/11.1|JCacheControllerOutput]]
 +
** [[JCacheControllerPage/11.1|JCacheControllerPage]]
 +
** [[JCacheControllerView/11.1|JCacheControllerView]]
 
===Importing===
 
===Importing===
 
<source lang="php">jimport( 'joomla.cache.controller' );</source>
 
<source lang="php">jimport( 'joomla.cache.controller' );</source>
 
===See also===
 
===See also===
* [[JCacheController|Other versions of this class]]
+
* {{JVer|11.1}} '''JCacheController source code''' on [[jplatform:cache/controller.php|BitBucket]]
 +
* {{JVer|11.1}} Subpackage [[Subpackage Cache/11.1|Cache]]
 +
* [[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 61: 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 JClasses]][[Category:Platform 11.1]][[Category:JCacheController]]</noinclude>

Revision as of 13:30, 29 August 2012

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

SeeAlso:JCacheController [Edit See Also]

User contributed notes

<CodeExamplesForm />