API17:JCacheController::getInstance
From Joomla! Documentation
(Difference between revisions)
(Layout updates) |
(Updated to r1448:247ba8d88526) |
||
| Line 8: | Line 8: | ||
<nowiki>[</nowiki>[[Description:JCacheController::getInstance|Edit Descripton]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[Description:JCacheController::getInstance|Edit Descripton]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
| − | |||
| − | |||
| − | |||
<source lang="php"> | <source lang="php"> | ||
| − | public static | + | public static function getInstance ( |
| + | $type= 'output' | ||
| + | $options=array | ||
| + | ) | ||
</source> | </source> | ||
{| class="wikitable" | {| class="wikitable" | ||
| Line 32: | Line 32: | ||
|- | |- | ||
|} | |} | ||
| − | + | * '''Returns''' object A object | |
| − | object A object | + | * '''Defined''' on line 69 of libraries/joomla/cache/controller.php |
| − | + | * '''Since''' {{JVer|11.1 }} | |
| − | libraries/joomla/cache/controller.php | + | * '''Referenced by''' |
| − | * | + | ** [[JCache::getInstance/11.1|JCache::getInstance]] |
| − | + | ||
| − | * [[JCache::getInstance/11.1|JCache::getInstance]] | + | |
===See also=== | ===See also=== | ||
| + | * {{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}} Subpackage [[Subpackage_Cache/11.1|Cache]] | ||
| + | * [[JCacheController::getInstance|Other versions of JCacheController::getInstance]] | ||
| + | {{SeeAlso:JCacheController::getInstance}} | ||
<span class="editsection" style="font-size:76%;"> | <span class="editsection" style="font-size:76%;"> | ||
<nowiki>[</nowiki>[[SeeAlso:JCacheController::getInstance|Edit See Also]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[SeeAlso:JCacheController::getInstance|Edit See Also]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
| − | + | ===User contributed notes=== | |
| − | + | ||
| − | + | ||
| − | === | + | |
<CodeExamplesForm /> | <CodeExamplesForm /> | ||
<dpl> | <dpl> | ||
| Line 54: | Line 54: | ||
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
| + | namespace=CodeExample | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
<noinclude>[[Category:JCacheController]][[Category:JCacheController::getInstance]]</noinclude> | <noinclude>[[Category:JCacheController]][[Category:JCacheController::getInstance]]</noinclude> | ||
Revision as of 20:15, 27 April 2011
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.
JCacheController::getInstance
Description
Returns a reference to a cache adapter object, always creating it.
Description:JCacheController::getInstance [Edit Descripton]
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
SeeAlso:JCacheController::getInstance [Edit See Also]
User contributed notes
<CodeExamplesForm />
