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. | ||
<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]] | ||
===User contributed notes=== | ===User contributed notes=== | ||
=== Code Examples === | |||
<dpl> | <dpl> | ||
noresultsheader=\n | noresultsheader=\n | ||
category=JCacheController::getInstance | category=JCacheController::getInstance | ||
namespace=CodeExample | |||
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
Latest revision as of 02:25, 25 March 2017
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

- Referenced by
See also
JCacheController::getInstance source code on BitBucket
Class JCacheController
Subpackage Cache- Other versions of JCacheController::getInstance
User contributed notes
Code Examples