Bitrix API

PartGridRoleService extends GridRoleService

Table of Contents

Methods

__construct()  : mixed
fillRoleIdsInFilter()  : void
getRolesForGrid()  : array<string|int, mixed>|array<string|int, GridRoleDto>
getShare()  : array<string|int, mixed>
getUserPhotoUrl()  : string

Methods

__construct()

public __construct(GridRoleRepository $gridRoleRepository, ShareRepository $shareRepository, UserRepository $userRepository, DateFormatService $dateFormatService, UserAccessRepository $userAccessRepository, GroupService $groupService) : mixed
Parameters
$gridRoleRepository : GridRoleRepository
$shareRepository : ShareRepository
$userRepository : UserRepository
$dateFormatService : DateFormatService
$userAccessRepository : UserAccessRepository
$groupService : GroupService

getShare()

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

getUserPhotoUrl()

public getUserPhotoUrl(array<string|int, mixed> $userFields) : string
Parameters
$userFields : array<string|int, mixed>
Return values
string

        
On this page

Search results