API17

Difference between revisions of "JCacheController"

From Joomla! Documentation

(Bulk upload by Doxiki2)
 
(Layout updates)
Line 6: Line 6:
 
===Defined in===
 
===Defined in===
 
libraries/joomla/cache/controller.php
 
libraries/joomla/cache/controller.php
 +
* see source code in [[jplatform:cache/controller.php|BitBucket]]
 
===Subpackage===
 
===Subpackage===
 
[[Subpackage Cache/11.1|Cache]]
 
[[Subpackage Cache/11.1|Cache]]
Line 48: Line 49:
 
<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]]
 
* [[JCacheController|Other versions of this class]]
 
* [[JCacheController|Other versions of this class]]
 
{{SeeAlso:JCacheController}}
 
{{SeeAlso:JCacheController}}

Revision as of 16:50, 23 April 2011

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.

[Edit Descripton] Template:Description:JCacheController

Defined in[edit]

libraries/joomla/cache/controller.php

Subpackage[edit]

Cache

Extends[edit]

Extended by[edit]

Methods[edit]

Method name Description
__call
__construct Constructor.
get Get stored cached data by id and group.
setCaching Set caching enabled state.
setLifeTime Set cache lifetime.
store Store data to cache by id and group.
addIncludePath Add a directory where should search for controllers.
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]

Examples[edit]

<CodeExamplesForm />