Stud.IP
5.4
|
Public Member Functions | |
__construct ($id=self::UNKNOWN_ROLE_ID, $name= '', $system=false) | |
getRoleid () | |
setRoleid ($newid) | |
getRolename () | |
setRolename ($newrole) | |
getSystemtype () | |
setSystemtype ($newtype) | |
Data Fields | |
const | UNKNOWN_ROLE_ID = null |
$roleid | |
$rolename | |
$systemtype | |
__construct | ( | $id = self::UNKNOWN_ROLE_ID , |
|
$name = '' , |
|||
$system = false |
|||
) |
Constructor
getRoleid | ( | ) |
Returns the role's id.
getRolename | ( | ) |
Returns the role's name.
getSystemtype | ( | ) |
Returns whether the role is a system role.
setRoleid | ( | $newid | ) |
Set the role's id.
int | $newid |
setRolename | ( | $newrole | ) |
Set the role's name.
string | $newrole |
setSystemtype | ( | $newtype | ) |
Sets whether the role is a system role.
boolean | $newtype |
$roleid |
$rolename |
$systemtype |
const UNKNOWN_ROLE_ID = null |