Bitrix API

ShareRepository extends BaseRepository

Table of Contents

Methods

__construct()  : mixed
create()  : AddResult
deleteRoleId()  : void
findByRoleId()  : array<string|int, mixed>
getAccessCodesForRole()  : array<int, array{ACCESS_CODE: string}>
getInfoAccessRole()  : array<string|int, mixed>
getInfoAccessRoleByCode()  : bool

Methods

deleteRoleId()

public deleteRoleId(int $roleId) : void
Parameters
$roleId : int

findByRoleId()

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

getAccessCodesForRole()

public getAccessCodesForRole(int $roleId) : array<int, array{ACCESS_CODE: string}>
Parameters
$roleId : int
Tags
throws
ArgumentException
throws
ObjectPropertyException
throws
SystemException
Return values
array<int, array{ACCESS_CODE: string}>

getInfoAccessRole()

public getInfoAccessRole(array<string|int, int> $roleId, int $userId) : array<string|int, mixed>
Parameters
$roleId : array<string|int, int>
$userId : int
Tags
throws
SqlQueryException
Return values
array<string|int, mixed>

getInfoAccessRoleByCode()

public getInfoAccessRoleByCode(string $roleCode, int $userId) : bool
Parameters
$roleCode : string
$userId : int
Tags
throws
ArgumentException
throws
ObjectPropertyException
throws
SystemException
Return values
bool

        
On this page

Search results