API17

Difference between revisions of "JCacheController"

From Joomla! Documentation

m (moving preparation)
m (preparing for archive only)
 
(One intermediate revision by the same user not shown)
Line 2: Line 2:
 
=={{JVer|11.1}} JCacheController==
 
=={{JVer|11.1}} JCacheController==
 
===Description===
 
===Description===
{{Description:JCacheController}}
+
 
<span class="editsection" style="font-size:76%;">
+
 
<nowiki>[</nowiki>[[Description:JCacheController|Edit Descripton]]<nowiki>]</nowiki>
 
</span>
 
 
===Methods===
 
===Methods===
 
{| class="wikitable sortable"
 
{| class="wikitable sortable"
Line 58: Line 56:
 
* {{JVer|11.1}} Subpackage [[API17:Subpackage Cache|Cache]]
 
* {{JVer|11.1}} Subpackage [[API17:Subpackage Cache|Cache]]
 
* [[API17:JCacheController|Other versions of JCacheController]]
 
* [[API17:JCacheController|Other versions of JCacheController]]
{{SeeAlso:JCacheController}}
+
 
<span class="editsection" style="font-size:76%;">
+
 
<nowiki>[</nowiki>[[SeeAlso:JCacheController|Edit See Also]]<nowiki>]</nowiki>
 
</span>
 
 
===User contributed notes===
 
===User contributed notes===
<CodeExamplesForm />
+
=== Code Examples ===
 
<dpl>
 
<dpl>
 
noresultsheader=\n
 
noresultsheader=\n
 
category=JCacheController
 
category=JCacheController
category=CodeExample
+
namespace=CodeExample
 
category=ClassExample
 
category=ClassExample
 
include=*
 
include=*

Latest revision as of 20:24, 24 March 2017

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]

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]


User contributed notes[edit]

Code Examples[edit]