API16:JAuthentication/ construct
From Joomla! Documentation
Description
Constructor
<! removed transcluded page call, red link never existed >
Syntax
__construct()
Defined in
libraries/joomla/user/authentication.php
Importing
jimport( 'joomla.user.authentication' );
Source Body
function __construct()
{
$isLoaded = JPluginHelper::importPlugin('authentication');
if (!$isLoaded) {
JError::raiseWarning('SOME_ERROR_CODE', JText::_('JAuthentication::__construct: Could not load authentication libraries.'));
}
}
<! removed transcluded page call, red link never existed >
Examples
Code Examples