boolean init(
string
$uid)
|
|
Tries to find the user with the given user ID in the permissions container. Will read all permission data and return true on success.
Overrides
LiveUser_Perm_Common::init() (Tries to find the user with the given user ID in the permissions container. Will read all permission data and return true on success.)
Parameters:
Reads all rights of current user into an associative array.
Right => 1
Overrides
LiveUser_Perm_Common::readRights() (Reads all rights of current user into a two-dimensional associative array, having the area names as the key of the 1st dimension.)
boolean userExists(
integer
$user_id)
|
|
Checks if a user with the given perm_user_id exists in the permission container and returns true on success.
Overrides
LiveUser_Perm_Common::userExists() (Checks if a user with the given perm_user_id exists in the permission container and returns true on success.)
Parameters: