API17

JCacheController::getInstance: Difference between revisions

From Joomla! Documentation

m moving preparation
m clean up
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.  


{{Description:JCacheController::getInstance}}
{{subst:Description:JCacheController::getInstance}}
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[Description:JCacheController::getInstance|Edit Descripton]]<nowiki>]</nowiki>
</span>
<source lang="php">
<source lang="php">
public static function getInstance (
public static function getInstance (
Line 42: 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]]
{{SeeAlso:JCacheController::getInstance}}
{{subst:SeeAlso:JCacheController::getInstance}}
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[SeeAlso:JCacheController::getInstance|Edit See Also]]<nowiki>]</nowiki>
</span>
===User contributed notes===
===User contributed notes===
<CodeExamplesForm />
<CodeExamplesForm />

Revision as of 14:50, 24 March 2017

Joomla 11.1 JCacheController::getInstance

Description

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

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

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

{{subst:SeeAlso:JCacheController::getInstance}}

User contributed notes

<CodeExamplesForm />