API17

Difference between revisions of "JCacheController::getInstance"

From Joomla! Documentation

m (→‎User contributed notes: moving preparation)
m (preparing for archive only)
 
(2 intermediate revisions by the same user not shown)
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}}
+
 
<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 36: Line 34:
 
* '''Since''' {{JVer|11.1 }}
 
* '''Since''' {{JVer|11.1 }}
 
* '''Referenced by'''
 
* '''Referenced by'''
** [[JCache::getInstance/11.1|JCache::getInstance]]
+
** [[API17:JCache::getInstance|JCache::getInstance]]
 
===See also===
 
===See also===
 
* {{JVer|11.1}} '''JCacheController::getInstance source code''' on [[jplatform:cache/controller.php#cl-61|BitBucket]]
 
* {{JVer|11.1}} '''JCacheController::getInstance source code''' on [[jplatform:cache/controller.php#cl-61|BitBucket]]
* {{JVer|11.1}} Class [[JCacheController/11.1|JCacheController]]
+
* {{JVer|11.1}} Class [[API17:JCacheController|JCacheController]]
* {{JVer|11.1}} Subpackage [[Subpackage_Cache/11.1|Cache]]
+
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Cache|Cache]]
* [[JCacheController::getInstance|Other versions of JCacheController::getInstance]]
+
* [[API17:JCacheController::getInstance|Other versions of JCacheController::getInstance]]
{{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 />
+
=== 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 21:25, 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::getInstance[edit]

Description[edit]

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[edit]


User contributed notes[edit]

Code Examples[edit]