API17

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}}
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[Description:JAuthentication::getInstance|Edit Descripton]]<nowiki>]</nowiki>
</span>
<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}}
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[SeeAlso:JAuthentication::getInstance|Edit See Also]]<nowiki>]</nowiki>
</span>
===User contributed notes===
===User contributed notes===
<CodeExamplesForm />
<CodeExamplesForm />

Revision as of 14:47, 24 March 2017

Joomla 11.1 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 Joomla 11.1

See also

{{subst:SeeAlso:JAuthentication::getInstance}}

User contributed notes

<CodeExamplesForm />