API - XOOPS 2.5.11 Beta 2
By monxoops.fr
XoopsAuth Class Reference
Inheritance diagram for XoopsAuth:

Public Member Functions

 __construct (XoopsDatabase $dao=null)
 
 authenticate ($uname)
 
 setErrors ($err_no, $err_str)
 
 getErrors ()
 
 getHtmlErrors ()
 

Data Fields

 $_dao
 
 $_errors
 

Constructor & Destructor Documentation

◆ __construct()

__construct ( XoopsDatabase  $dao = null)

Authentication Service constructor

Parameters
XoopsDatabase$dao

Reimplemented in XoopsAuthAds, XoopsAuthLdap, and XoopsAuthXoops.

Member Function Documentation

◆ authenticate()

authenticate (   $uname)
Parameters
string$uname@abstract need to be write in the derived class

◆ getErrors()

getErrors ( )

return the errors for this object as an array

Returns
array an array of errors @access public

◆ getHtmlErrors()

getHtmlErrors ( )

return the errors for this object as html

Returns
string html listing the errors @access public

◆ setErrors()

setErrors (   $err_no,
  $err_str 
)

add an error

Parameters
int$err_no
string$err_strerror value to add

@access public

Here is the caller graph for this function:

Field Documentation

◆ $_dao

$_dao

◆ $_errors

$_errors

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