Bitrix API

RoleRepository implements RoleRepository

Table of Contents

Interfaces

RoleRepository

Methods

create()  : Role
Create a new role.
findByIds()  : RoleCollection
findByXmlId()  : Role|null
getById()  : Role|null
list()  : RoleCollection
remove()  : void
Remove a role item.
update()  : void

Methods

findByIds()

public findByIds(array<string|int, mixed> $ids) : RoleCollection
Parameters
$ids : array<string|int, mixed>
Tags
throws
ArgumentException
throws
ObjectPropertyException
throws
SystemException
Return values
RoleCollection

findByXmlId()

public findByXmlId(string $xmlId) : Role|null
Parameters
$xmlId : string
Tags
throws
ArgumentException
throws
ObjectPropertyException
throws
SystemException
Return values
Role|null

getById()

public getById(int $id) : Role|null
Parameters
$id : int
Tags
throws
ArgumentException
throws
ObjectPropertyException
throws
SystemException
Return values
Role|null

remove()

Remove a role item.

public remove(Role $role) : void
Parameters
$role : Role

The role item to be removed.

Tags
throws
DeleteFailedException
throws
ArgumentException
throws
ObjectPropertyException
throws
SystemException

        
On this page

Search results