См. определение в файле roleutil.php строка 19
◆ __construct()
__construct |
( |
int | $roleId | ) |
|
◆ createRole()
static createRole |
( |
string | $title | ) |
|
|
static |
◆ deleteRole()
◆ getMembers()
getMembers |
( |
int | $limit = 0 | ) |
|
◆ getPermissions()
◆ getPermissionTableClass()
static getPermissionTableClass |
( |
| ) |
|
|
staticabstractprotected |
◆ getRoleDictionaryClass()
static getRoleDictionaryClass |
( |
| ) |
|
|
staticabstractprotected |
◆ getRoleRelationTableClass()
static getRoleRelationTableClass |
( |
| ) |
|
|
staticabstractprotected |
◆ getRoles()
◆ getRoleTableClass()
static getRoleTableClass |
( |
| ) |
|
|
staticabstractprotected |
◆ loadRole()
◆ updatePermissions()
updatePermissions |
( |
array | $permissions | ) |
|
- Аргументы
-
array | $permissions | [ permission_id => value ] |
- Исключения
-
RoleNotFoundException | |
RoleSaveException | |
| |
Bitrix\Main\Db\SqlQueryException
См. определение в файле roleutil.php строка 154
◆ updateRoleRelations()
updateRoleRelations |
( |
array | $roleRelations | ) |
|
- Аргументы
-
- Исключения
-
RoleRelationSaveException | |
См. определение в файле roleutil.php строка 204
◆ updateTitle()
updateTitle |
( |
string | $title | ) |
|
◆ validatePermissions()
validatePermissions |
( |
array | $permissions | ) |
|
|
protected |
◆ $role
◆ $roleId