Actions

API17

Difference between revisions of "JCategories::getInstance"

From Joomla! Documentation

(Layout updates)
(Updated to r1448:247ba8d88526)
Line 8: Line 8:
 
<nowiki>[</nowiki>[[Description:JCategories::getInstance|Edit Descripton]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[Description:JCategories::getInstance|Edit Descripton]]<nowiki>]</nowiki>
 
</span>
 
</span>
===Since===
 
{{JVer|11.1 }}
 
===Synopsis===
 
 
<source lang="php">
 
<source lang="php">
public static JCategories::getInstance ($extension, $options=array())
+
public static function getInstance (
 +
        $extension
 +
        $options=array
 +
)
 
</source>
 
</source>
 
{| class="wikitable"
 
{| class="wikitable"
Line 32: Line 32:
 
|-
 
|-
 
|}
 
|}
===Returns===
+
* '''Returns''' object
object
+
* '''Defined''' on line 112 of libraries/joomla/application/categories.php
===Defined in===
+
* '''Since''' {{JVer|11.1 }}
libraries/joomla/application/categories.php (line 112)
+
* see source code in [[jplatform:application/categories.php#cl-112|BitBucket]]
+
===Referenced by===
+
 
===See also===
 
===See also===
 +
* {{JVer|11.1}} '''JCategories::getInstance source code''' on [[jplatform:application/categories.php#cl-104|BitBucket]]
 +
* {{JVer|11.1}} Class [[JCategories/11.1|JCategories]]
 +
* {{JVer|11.1}} Subpackage [[Subpackage_Application/11.1|Application]]
 +
* [[JCategories::getInstance|Other versions of JCategories::getInstance]]
 +
{{SeeAlso:JCategories::getInstance}}
 
<span class="editsection" style="font-size:76%;">
 
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[SeeAlso:JCategories::getInstance|Edit See Also]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[SeeAlso:JCategories::getInstance|Edit See Also]]<nowiki>]</nowiki>
 
</span>
 
</span>
* [[JCategories/11.1|JCategories]]
+
===User contributed notes===
* [[JCategories::getInstance|Other versions of this method]]
+
{{SeeAlso:JCategories::getInstance}}
+
===Examples===
+
 
<CodeExamplesForm />
 
<CodeExamplesForm />
 
<dpl>
 
<dpl>
Line 53: Line 52:
 
category=MethodExample
 
category=MethodExample
 
include=*
 
include=*
 +
namespace=CodeExample
 
format= ,,,
 
format= ,,,
 
</dpl>
 
</dpl>
 
<noinclude>[[Category:JCategories]][[Category:JCategories::getInstance]]</noinclude>
 
<noinclude>[[Category:JCategories]][[Category:JCategories::getInstance]]</noinclude>

Revision as of 19:19, 27 April 2011

Replacement filing cabinet.png
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.

Joomla 11.1 JCategories::getInstance

Description

Returns a reference to a object.

Description:JCategories::getInstance [Edit Descripton]

public static function getInstance (
        $extension
        $options=array
)
Parameter Type Default Description
$extension $extension Name of the categories extension
$options $options array() An array of options
  • Returns object
  • Defined on line 112 of libraries/joomla/application/categories.php
  • Since Joomla 11.1

See also

SeeAlso:JCategories::getInstance [Edit See Also]

User contributed notes

<CodeExamplesForm />