AUTHORIZE
Logging on and system authorisation class.
version | 1 |
---|---|
package | wikindx4\core\startup |
author | Mark Grimshaw |
__construct()
gatekeep() : boolean
Order is of checking is important!
boolean
initLogon(string $error)
string
Default is FALSE
logonCheck(string $username, string $password)
Public for use with API. If cleared, user environment is set and embargoed resources checked for clearance, otherwise, user is presented with logon prompt again
string
string
checkNews()
failure(string $error)
In case of failure, Exit back to logon prompt with optional error message
string
error Default is FALSE
logonCheckUpgradeDB(string $username, string $password) : boolean
string
string
boolean
TRUE if not able to authenticatelogout()
Various bits of garbage disposal, session is destroyed, cookie is deleted and user is presented with logon prompt
printLogonTable() : string
string
restoreEnvironment()
$config
$db
$errors
$file
$loadConfig
$session
$template
$user
$vars