◆ __construct()
| __construct |
( |
|
$id = self::UNKNOWN_ROLE_ID, |
|
|
|
$name = '', |
|
|
|
$system = false |
|
) |
| |
◆ getRoleid()
Returns the role's id.
- Returns
- int
◆ getRolename()
Returns the role's name.
- Returns
- string
◆ getSystemtype()
Returns whether the role is a system role.
- Returns
- boolean
◆ setRoleid()
Set the role's id.
- Parameters
-
◆ setRolename()
Set the role's name.
- Parameters
-
◆ setSystemtype()
| setSystemtype |
( |
|
$newtype | ) |
|
Sets whether the role is a system role.
- Parameters
-
◆ $roleid
◆ $rolename
◆ $systemtype
◆ UNKNOWN_ROLE_ID
| const UNKNOWN_ROLE_ID = null |
The documentation for this class was generated from the following file: