Legend of the Green Dragon

Login

Functions for login/logout user.

Table of Contents

getAcctIdFromLogin()  : int
Get acctid from login.
logoutInactiveAccounts()  : bool
Logout inactive accounts.
processLoginGetAcctData()  : array<string|int, mixed>
Process login and get data.

Methods

getAcctIdFromLogin()

Get acctid from login.

public getAcctIdFromLogin(string $login) : int
Parameters
$login : string
Return values
int

logoutInactiveAccounts()

Logout inactive accounts.

public logoutInactiveAccounts(int $timeout) : bool
Parameters
$timeout : int
Return values
bool

processLoginGetAcctData()

Process login and get data.

public processLoginGetAcctData(string $login, string $password) : array<string|int, mixed>
Parameters
$login : string
$password : string
Return values
array<string|int, mixed>

Search results