XOOPS  2.6.0
Xoops\Auth\Factory Class Reference

Static Public Member Functions

static getAuthConnection ($uname, $_force=false)
 

Detailed Description

Definition at line 25 of file Factory.php.

Member Function Documentation

static Xoops\Auth\Factory::getAuthConnection (   $uname,
  $_force = false 
)
static

Get a reference to the only instance of authentication class

if the class has not been instantiated yet, this will also take care of that

Parameters
string$unameuser name
bool$_forceinternal use for tests
Returns
AuthAbstract|bool Reference to the only instance of authentication class

Definition at line 38 of file Factory.php.

References $uname, $xoops, XoopsLocaleEn_US\EF_CLASS_NOT_FOUND, and Xoops\getInstance().

Here is the call graph for this function:


The documentation for this class was generated from the following file: