API17

JAuthentication::getInstance: Difference between revisions

From Joomla! Documentation

Doxiki2 (talk | contribs)
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.  


{{Description:JAuthentication::getInstance}}
 
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[Description:JAuthentication::getInstance|Edit Descripton]]<nowiki>]</nowiki>
</span>
===Since===
{{JVer|11.1 }}
===Synopsis===
<source lang="php">
<source lang="php">
public static JAuthentication::getInstance ()
public static function getInstance ()
</source>
</source>
===Returns===
* '''Returns''' object The global  object
object The global  object
* '''Defined''' on line 59 of libraries/joomla/user/authentication.php
===Defined in===
* '''Since''' {{JVer|11.1 }}
libraries/joomla/user/authentication.php
===Referenced by===
===See also===
===See also===
<span class="editsection" style="font-size:76%;">
* {{JVer|11.1}} '''JAuthentication::getInstance source code''' on [[jplatform:user/authentication.php#cl-51|BitBucket]]
<nowiki>[</nowiki>[[SeeAlso:JAuthentication::getInstance|Edit See Also]]<nowiki>]</nowiki>
* {{JVer|11.1}} Class [[API17:JAuthentication|JAuthentication]]
</span>
* {{JVer|11.1}} Subpackage [[API17:Subpackage_User|User]]
* [[JAuthentication/11.1|JAuthentication]]
* [[API17:JAuthentication::getInstance|Other versions of JAuthentication::getInstance]]
* [[JAuthentication::getInstance|Other versions of this method]]
 
{{SeeAlso:JAuthentication::getInstance}}
 
===Examples===
===User contributed notes===
<CodeExamplesForm />
=== Code Examples ===
<dpl>
<dpl>
noresultsheader=\n
noresultsheader=\n
category=JAuthentication::getInstance
category=JAuthentication::getInstance
category=CodeExample
namespace=CodeExample
category=MethodExample
category=MethodExample
include=*
include=*
namespace=CodeExample
format= ,,,
format= ,,,
</dpl>
</dpl>
<noinclude>[[Category:JAuthentication]][[Category:JAuthentication::getInstance]]</noinclude>
<noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude>

Latest revision as of 02:21, 25 March 2017

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

See also


User contributed notes

Code Examples