JAuthentication::getInstance: Difference between revisions
From Joomla! Documentation
Bulk upload by Doxiki2 |
m preparing for archive only |
||
| (6 intermediate revisions by 2 users not shown) | |||
| 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"> | ||
public static | public static function getInstance () | ||
</source> | </source> | ||
* '''Returns''' object The global object | |||
object The global object | * '''Defined''' on line 59 of libraries/joomla/user/authentication.php | ||
* '''Since''' {{JVer|11.1 }} | |||
libraries/joomla/user/authentication.php | |||
===See also=== | ===See also=== | ||
* {{JVer|11.1}} '''JAuthentication::getInstance source code''' on [[jplatform:user/authentication.php#cl-51|BitBucket]] | |||
* {{JVer|11.1}} Class [[API17:JAuthentication|JAuthentication]] | |||
* {{JVer|11.1}} Subpackage [[API17:Subpackage_User|User]] | |||
* | * [[API17:JAuthentication::getInstance|Other versions of JAuthentication::getInstance]] | ||
* [[JAuthentication::getInstance|Other versions of | |||
===Examples=== | ===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=* | ||
namespace=CodeExample | |||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
<noinclude>[[Category: | <noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude> | ||
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