JAuthentication::getInstance: Difference between revisions
From Joomla! Documentation
m clean up |
m preparing for archive only |
||
| 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. | ||
<source lang="php"> | <source lang="php"> | ||
| Line 17: | 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]] | ||
===User contributed notes=== | ===User contributed notes=== | ||
=== Code Examples === | |||
<dpl> | <dpl> | ||
noresultsheader=\n | noresultsheader=\n | ||
category=JAuthentication::getInstance | category=JAuthentication::getInstance | ||
namespace=CodeExample | |||
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
Latest revision as of 02:21, 25 March 2017
JAuthentication::getInstance
Description
Returns the global authentication object, only creating it if it doesn't already exist.
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
User contributed notes
Code Examples