Methods summary
public
|
|
private
boolean
|
|
private
boolean
|
|
public
boolean
|
#
load( string $username, string $key )
Load the user settings from the DB
Load the user settings from the DB
Parameters
- $username
- username
- $key
- encryption key
Returns
boolean
|
public
|
#
reload( array $data, string $username = false )
Reload from outside input
Reload from outside input
Parameters
- $data
- new user data
- $username
|
public
boolean
|
#
connect( )
Connect to a configured DB
Connect to a configured DB
Returns
boolean true on success
|
public
integer|boolean|array
|
#
save( string $username, string $key )
Save user settings to the DB
Save user settings to the DB
Parameters
- $username
- username
- $key
- encryption key
Returns
integer|boolean|array
|
public
|
#
set( string $name, string $value )
Set a config value
Parameters
- $name
- config value name
- $value
- config value
Overrides
|