API17

JCacheController: Difference between revisions

From Joomla! Documentation

Doxiki2 (talk | contribs)
Bulk upload by Doxiki2
 
Doxiki2 (talk | contribs)
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 22:50, 23 April 2011

[Edit Descripton] Template:Description:JCacheController

Defined in

libraries/joomla/cache/controller.php

Subpackage

Cache

Extends

Extended by

Methods

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

jimport( 'joomla.cache.controller' );

See also

Template:SeeAlso:JCacheController [Edit See Also]

Examples

<CodeExamplesForm />