Bitrix API

RoleDisplayRuleService

Table of Contents

Methods

__construct()  : mixed
getForbiddenRoles()  : array<string|int, int>
updateRulesForRole()  : void

Methods

getForbiddenRoles()

public getForbiddenRoles(array<string|int, int> $rolesIds, string $userLang) : array<string|int, int>
Parameters
$rolesIds : array<string|int, int>
$userLang : string
Return values
array<string|int, int>

updateRulesForRole()

public updateRulesForRole(int $roleId, array<string|int, RuleDto$rules[, bool $needDeleteOld = false ]) : void
Parameters
$roleId : int
$rules : array<string|int, RuleDto>
$needDeleteOld : bool = false

        
On this page

Search results