API17

Difference between revisions of "JApplication::getInstance"

From Joomla! Documentation

m (JoomlaWikiBot moved page JApplication::getInstance/11.1 to API17:JApplication::getInstance without leaving a redirect: Robot: Moved page)
m (moving preparation)
(One intermediate revision by the same user not shown)
Line 42: Line 42:
 
* '''Since''' {{JVer|11.1 }}
 
* '''Since''' {{JVer|11.1 }}
 
* '''Referenced by'''
 
* '''Referenced by'''
** [[JFactory::getApplication/11.1|JFactory::getApplication]]
+
** [[API17:JFactory::getApplication|JFactory::getApplication]]
 
===See also===
 
===See also===
 
* {{JVer|11.1}} '''JApplication::getInstance source code''' on [[jplatform:application/application.php#cl-123|BitBucket]]
 
* {{JVer|11.1}} '''JApplication::getInstance source code''' on [[jplatform:application/application.php#cl-123|BitBucket]]
* {{JVer|11.1}} Class [[JApplication/11.1|JApplication]]
+
* {{JVer|11.1}} Class [[API17:JApplication|JApplication]]
* {{JVer|11.1}} Subpackage [[Subpackage_Application/11.1|Application]]
+
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Application|Application]]
* [[JApplication::getInstance|Other versions of JApplication::getInstance]]
+
* [[API17:JApplication::getInstance|Other versions of JApplication::getInstance]]
 
{{SeeAlso:JApplication::getInstance}}
 
{{SeeAlso:JApplication::getInstance}}
 
<span class="editsection" style="font-size:76%;">
 
<span class="editsection" style="font-size:76%;">
Line 63: Line 63:
 
format= ,,,
 
format= ,,,
 
</dpl>
 
</dpl>
<noinclude>[[Category:JApplication]][[Category:JApplication::getInstance]]</noinclude>
+
<noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude>

Revision as of 19:41, 11 May 2013

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 JApplication::getInstance[edit]

Description[edit]

Returns the global object, only creating it if it doesn't already exist.

Template:Description:JApplication::getInstance [Edit Descripton]

public static function getInstance (
        $client
        $config=array
        $prefix= 'J'
)
Parameter Type Default Description
$client mixed A client identifier or name.
$config array array() An optional associative array of configuration settings.
$prefix 'J'
  • Returns $prefix The appliction object.
  • Defined on line 131 of libraries/joomla/application/application.php
  • Since Joomla 11.1
  • Referenced by

See also[edit]

Template:SeeAlso:JApplication::getInstance [Edit See Also]

User contributed notes[edit]

<CodeExamplesForm />