Свойство | Тип | Описание | |
---|---|---|---|
$RoleModel | RoleModel | ||
$Uses | Models to automatically instantiate. |
Метод | Описание | |
---|---|---|
__construct ( ) | RoleController constructor. | |
add ( ) | Create new role. | |
delete ( $RoleID = false ) | Remove a role. | |
edit ( $RoleID = false ) | Edit a role. | |
index ( $roleID = null ) | Show list of roles. | |
initialize ( ) | Set menu path. Automatically run on every use. |
Метод | Описание | |
---|---|---|
_permission ( $RoleID = null ) | Do permission check. | |
removeRankPermissions ( ) |