Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
Класс RolePermissionService
+ Граф наследования:RolePermissionService:

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

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

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

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

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

◆ __construct()

__construct ( )

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

Методы

◆ appendInventoryManagmentPermissions()

appendInventoryManagmentPermissions ( array $permissionSettings)

Append saved inventory management permissions.

May be used to save roles when inventory management is disabled,because these rights will not be shown in the interface, respectively, they will not be saved.

Аргументы
array$permissionSettings
Возвращает
array

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

◆ getRoleList()

getRoleList ( array $parameters = [])

@inheritDoc

Замещает RolePermissionServiceInterface.

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

◆ getRoleListByUser()

getRoleListByUser ( int $userId)

@inheritDoc

Замещает RolePermissionServiceInterface.

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

◆ getSavedPermissions()

getSavedPermissions ( array $parameters = [])

@inheritDoc

Замещает RolePermissionServiceInterface.

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

◆ saveRole()

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

Bitrix\Main\ObjectPropertyException

Исключения

Bitrix\Main\SystemException

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

◆ saveRolePermissions()

saveRolePermissions ( array $permissionSettings)
Аргументы
array$permissionSettingspermission settings array
Возвращает
array
Исключения
SqlQueryException

Bitrix\Main\ObjectPropertyException

Исключения

Bitrix\Main\SystemException

Замещает RolePermissionServiceInterface.

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