API17

Difference between revisions of "JCacheController"

From Joomla! Documentation

m (→‎User contributed notes: moving preparation)
m (moving preparation)
Line 14: Line 14:
 
|-
 
|-
 
|public  
 
|public  
|[[JCacheController::__call/11.1|__call]]
+
|[[API17:JCacheController::__call|__call]]
 
|
 
|
 
|-
 
|-
 
|public  
 
|public  
|[[JCacheController::__construct/11.1|__construct]]
+
|[[API17:JCacheController::__construct|__construct]]
 
|Constructor.  
 
|Constructor.  
 
|-
 
|-
 
|public  
 
|public  
|[[JCacheController::get/11.1|get]]
+
|[[API17:JCacheController::get|get]]
 
|Get stored cached data by id and group.  
 
|Get stored cached data by id and group.  
 
|-
 
|-
 
|public  
 
|public  
|[[JCacheController::setCaching/11.1|setCaching]]
+
|[[API17:JCacheController::setCaching|setCaching]]
 
|Set caching enabled state.  
 
|Set caching enabled state.  
 
|-
 
|-
 
|public  
 
|public  
|[[JCacheController::setLifeTime/11.1|setLifeTime]]
+
|[[API17:JCacheController::setLifeTime|setLifeTime]]
 
|Set cache lifetime.  
 
|Set cache lifetime.  
 
|-
 
|-
 
|public  
 
|public  
|[[JCacheController::store/11.1|store]]
+
|[[API17:JCacheController::store|store]]
 
|Store data to cache by id and group.  
 
|Store data to cache by id and group.  
 
|-
 
|-
 
|public static  
 
|public static  
|[[JCacheController::addIncludePath/11.1|addIncludePath]]
+
|[[API17:JCacheController::addIncludePath|addIncludePath]]
 
|Add a directory where  should search for controllers.  
 
|Add a directory where  should search for controllers.  
 
|-
 
|-
 
|public static  
 
|public static  
|[[JCacheController::getInstance/11.1|getInstance]]
+
|[[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.  
 
|-
 
|-
Line 48: Line 48:
 
* '''Defined in''' libraries/joomla/cache/controller.php
 
* '''Defined in''' libraries/joomla/cache/controller.php
 
* '''Extended by'''
 
* '''Extended by'''
** [[JCacheControllerCallback/11.1|JCacheControllerCallback]]
+
** [[API17:JCacheControllerCallback|JCacheControllerCallback]]
** [[JCacheControllerOutput/11.1|JCacheControllerOutput]]
+
** [[API17:JCacheControllerOutput|JCacheControllerOutput]]
** [[JCacheControllerPage/11.1|JCacheControllerPage]]
+
** [[API17:JCacheControllerPage|JCacheControllerPage]]
** [[JCacheControllerView/11.1|JCacheControllerView]]
+
** [[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===
 
* {{JVer|11.1}} '''JCacheController source code''' on [[jplatform:cache/controller.php|BitBucket]]
 
* {{JVer|11.1}} '''JCacheController source code''' on [[jplatform:cache/controller.php|BitBucket]]
* {{JVer|11.1}} Subpackage [[Subpackage Cache/11.1|Cache]]
+
* {{JVer|11.1}} Subpackage [[API17:Subpackage Cache|Cache]]
* [[JCacheController|Other versions of JCacheController]]
+
* [[API17:JCacheController|Other versions of JCacheController]]
 
{{SeeAlso:JCacheController}}
 
{{SeeAlso:JCacheController}}
 
<span class="editsection" style="font-size:76%;">
 
<span class="editsection" style="font-size:76%;">

Revision as of 18:49, 11 May 2013

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 JCacheController[edit]

Description[edit]

Template:Description:JCacheController [Edit Descripton]

Methods[edit]

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[edit]

jimport( 'joomla.cache.controller' );

See also[edit]

Template:SeeAlso:JCacheController [Edit See Also]

User contributed notes[edit]

<CodeExamplesForm />