API17

JCacheStorage::getInstance: Difference between revisions

From Joomla! Documentation

m clean up
m preparing for archive only
 
Line 4: Line 4:
Returns a cache storage handler object, only creating it if it doesn't already exist.  
Returns a cache storage handler object, only creating it if it doesn't already exist.  


{{subst:Description:JCacheStorage::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:JCacheStorage::getInstance|Other versions of JCacheStorage::getInstance]]
* [[API17:JCacheStorage::getInstance|Other versions of JCacheStorage::getInstance]]
{{subst:SeeAlso:JCacheStorage::getInstance}}
 


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

Latest revision as of 02:26, 25 March 2017

Joomla 11.1 JCacheStorage::getInstance

Description

Returns a cache storage handler object, only creating it if it doesn't already exist.


public static function getInstance (
        $handler=null
        $options=array
)
Parameter Type Default Description
$handler string null The cache storage handler to instantiate
$options array()
  • Returns object A JCacheStorageHandler object
  • Defined on line 94 of libraries/joomla/cache/storage.php
  • Since Joomla 11.1
  • Referenced by

See also


User contributed notes

Code Examples