API17

JCacheController::getInstance: Difference between revisions

From Joomla! Documentation

m clean up
m preparing for archive only
 
Line 4: Line 4:
Returns a reference to a cache adapter object, always creating it.  
Returns a reference to a cache adapter object, always creating it.  


{{subst:Description:JCacheController::getInstance}}
 


<source lang="php">
<source lang="php">
Line 40: Line 40:
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Cache|Cache]]
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Cache|Cache]]
* [[API17:JCacheController::getInstance|Other versions of JCacheController::getInstance]]
* [[API17:JCacheController::getInstance|Other versions of JCacheController::getInstance]]
{{subst:SeeAlso:JCacheController::getInstance}}
 


===User contributed notes===
===User contributed notes===
<CodeExamplesForm />
=== Code Examples ===
<dpl>
<dpl>
noresultsheader=\n
noresultsheader=\n
category=JCacheController::getInstance
category=JCacheController::getInstance
category=CodeExample
namespace=CodeExample
category=MethodExample
category=MethodExample
include=*
include=*

Latest revision as of 02:25, 25 March 2017

Joomla 11.1 JCacheController::getInstance

Description

Returns a reference to a cache adapter object, always creating it.


public static function getInstance (
        $type= 'output'
        $options=array
)
Parameter Type Default Description
$type string 'output' The cache object type to instantiate
$options array()
  • Returns object A object
  • Defined on line 69 of libraries/joomla/cache/controller.php
  • Since Joomla 11.1
  • Referenced by

See also


User contributed notes

Code Examples