JAuthentication::getInstance: Difference between revisions
From Joomla! Documentation
m →See also: moving preparation |
m clean up |
||
| Line 4: | Line 4: | ||
Returns the global authentication object, only creating it if it doesn't already exist. | Returns the global authentication object, only creating it if it doesn't already exist. | ||
{{Description:JAuthentication::getInstance}} | {{subst:Description:JAuthentication::getInstance}} | ||
<source lang="php"> | <source lang="php"> | ||
public static function getInstance () | public static function getInstance () | ||
| Line 19: | Line 17: | ||
* {{JVer|11.1}} Subpackage [[API17:Subpackage_User|User]] | * {{JVer|11.1}} Subpackage [[API17:Subpackage_User|User]] | ||
* [[API17:JAuthentication::getInstance|Other versions of JAuthentication::getInstance]] | * [[API17:JAuthentication::getInstance|Other versions of JAuthentication::getInstance]] | ||
{{SeeAlso:JAuthentication::getInstance}} | {{subst:SeeAlso:JAuthentication::getInstance}} | ||
===User contributed notes=== | ===User contributed notes=== | ||
<CodeExamplesForm /> | <CodeExamplesForm /> | ||
Revision as of 14:47, 24 March 2017
JAuthentication::getInstance
Description
Returns the global authentication object, only creating it if it doesn't already exist.
{{subst:Description:JAuthentication::getInstance}}
public static function getInstance ()
- Returns object The global object
- Defined on line 59 of libraries/joomla/user/authentication.php
- Since

See also
JAuthentication::getInstance source code on BitBucket
Class JAuthentication
Subpackage User- Other versions of JAuthentication::getInstance
{{subst:SeeAlso:JAuthentication::getInstance}}
User contributed notes
<CodeExamplesForm />