JAuthentication/ construct
From Joomla! Documentation
< API16:JAuthenticationRevision as of 17:55, 22 March 2010 by Doxiki (talk | contribs) (New page: ===Description===
Constructor
<span class="editsection" style="font-size:76%;">
<nowiki>[</nowiki>Edit Descripton<nowiki>]</nowiki>
</span...)
Revision as of 17:55, 22 March 2010 by Doxiki (talk | contribs) (New page: ===Description===
Constructor
<span class="editsection" style="font-size:76%;">
<nowiki>[</nowiki>Edit Descripton<nowiki>]</nowiki>
</span...)
The "API16" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.
Description[edit]
Constructor
Template:Description:JAuthentication/ construct
Syntax[edit]
__construct()
Defined in[edit]
libraries/joomla/user/authentication.php
Importing[edit]
jimport( 'joomla.user.authentication' );
Source Body[edit]
function __construct()
{
$isLoaded = JPluginHelper::importPlugin('authentication');
if (!$isLoaded) {
JError::raiseWarning('SOME_ERROR_CODE', JText::_('JAuthentication::__construct: Could not load authentication libraries.'));
}
}
[Edit See Also] Template:SeeAlso:JAuthentication/ construct
Examples[edit]
<CodeExamplesForm />