-
-
Notifications
You must be signed in to change notification settings - Fork 46
User
$this->user->method();
When they log in this should be called to set all the user details.
String $username
String $sha_pass_hash
Creates a hash of the password we enter
(Optional) String $username
(Optional) String $password plain text
Check if the user has permission to do a certain task
Int $requiredRank ID column
(Optional) Boolean $die
Check if the user rank has any staff permissions
(Optional) $id
Get the CMS user rank (ranks table)
(Optional) Int $userId
Get the user group name
Check if the account is banned or active
(Optional) $id
Get the nickname
(Optional) Int $id
Get the user's avatar
(Optional) Int $id
(Optional) String $size
get the user it's characters, returns array with realmnames and character names and character id when specified realm is -1 or the default
int $userId
(Optional) int $realmId
(Optional) $username
(Optional) $id
$newUsername
$newPassword
$newEmail
$newExpansion
$newRank
$newVp
$newDp