1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
Класс RolePermissionService
Граф наследования:RolePermissionService:
RolePermissionServiceInterface

Открытые члены

 saveRolePermissions (array &$permissionSettings, int $dealCategoryId=-1)
 saveRole (string $name, int $dealCategoryId=-1, int $roleId=null)
 deleteRole (int $roleId)
 __construct ()
 getRoleList (array $parameters=[])
 getSavedPermissions (array $parameters=[])
 getRoleListByUser (int $userId)
 getUserGroups (int $dealCategoryId)
 getAccessRights ()
Открытые члены унаследованные от RolePermissionServiceInterface
 saveRole (String $name, int $dealCategoryId=0, int $roleId=null)

Подробное описание

См. определение в файле rolepermissionservice.php строка 19

Конструктор(ы)

◆ __construct()

__construct ( )

См. определение в файле rolepermissionservice.php строка 169

Методы

◆ deleteRole()

deleteRole ( int $roleId)
Аргументы
int$roleIdrole identification number
Исключения
SqlQueryException

Замещает RolePermissionServiceInterface.

См. определение в файле rolepermissionservice.php строка 149

◆ getAccessRights()

getAccessRights ( )

returns access rights list

Возвращает
array

Замещает RolePermissionServiceInterface.

См. определение в файле rolepermissionservice.php строка 233

◆ getRoleList()

getRoleList ( array $parameters = [])

@inheritDoc

Замещает RolePermissionServiceInterface.

См. определение в файле rolepermissionservice.php строка 177

◆ getRoleListByUser()

getRoleListByUser ( int $userId)

@inheritDoc

Замещает RolePermissionServiceInterface.

См. определение в файле rolepermissionservice.php строка 193

◆ getSavedPermissions()

getSavedPermissions ( array $parameters = [])

@inheritDoc

Замещает RolePermissionServiceInterface.

См. определение в файле rolepermissionservice.php строка 185

◆ getUserGroups()

getUserGroups ( int $dealCategoryId)
Аргументы
int$dealCategoryId
Возвращает
array

Замещает RolePermissionServiceInterface.

См. определение в файле rolepermissionservice.php строка 205

◆ saveRole()

saveRole ( string $name,
int $dealCategoryId = -1,
int $roleId = null )
Аргументы
string$name
int$dealCategoryIddeal category identification number
int | null$roleIdrole identification number
Возвращает
int
Исключения

Bitrix\Main\ObjectPropertyException

Исключения

Bitrix\Main\SystemException

См. определение в файле rolepermissionservice.php строка 109

◆ saveRolePermissions()

saveRolePermissions ( array & $permissionSettings,
int $dealCategoryId = -1 )
Аргументы
array$permissionSettingspermission settings array
int$dealCategoryIddeal category identification number
Исключения
SqlQueryException

Bitrix\Main\ObjectPropertyException

Исключения

Bitrix\Main\SystemException

Замещает RolePermissionServiceInterface.

См. определение в файле rolepermissionservice.php строка 37


Объявления и описания членов классов находятся в файлах: