API15

JAuthentication/ construct

From Joomla! Documentation

< API15:JAuthentication

The "API15" 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


<! removed transcluded page call, red link never existed >

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.'));
        }
}


<! removed transcluded page call, red link never existed >

Examples[edit]

Code Examples[edit]