Bitrix API

EmployeeRepository implements EmployeeRepository

Table of Contents

Interfaces

EmployeeRepository

Methods

add()  : Employee
deleteById()  : Result
getByIds()  : EmployeeCollection
getByPersonId()  : EmployeeCollection
getByPersonIds()  : EmployeeCollection
getByPersonUnique()  : Employee|null
getByUnique()  : Employee|null
getCollectionByPersonIds()  : EmployeeCollection
getSeveralByPersonIds()  : EmployeeCollection
getUsersMapById()  : array<string|int, mixed>
hasSeveralByPersonIds()  : bool
listMappedUserIdWithOneEmployeePosition()  : array<string|int, mixed>
listMultipleVacancyEmployeesByUserIdsAndCompany()  : array<string|int, mixed>
save()  : Employee
update()  : Employee

Methods

deleteById()

public deleteById(int $id) : Result
Parameters
$id : int
Return values
Result

getByPersonUnique()

public getByPersonUnique(int $personId, string $code) : Employee|null
Parameters
$personId : int
$code : string
Return values
Employee|null

getUsersMapById()

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

hasSeveralByPersonIds()

public hasSeveralByPersonIds(array<string|int, mixed> $personIds) : bool
Parameters
$personIds : array<string|int, mixed>
Return values
bool

listMappedUserIdWithOneEmployeePosition()

public listMappedUserIdWithOneEmployeePosition(int $companyId, int ...$userIds) : array<string|int, mixed>
Parameters
$companyId : int
$userIds : int
Return values
array<string|int, mixed>

listMultipleVacancyEmployeesByUserIdsAndCompany()

public listMultipleVacancyEmployeesByUserIdsAndCompany(int $companyId, int ...$userIds) : array<string|int, mixed>
Parameters
$companyId : int
$userIds : int
Return values
array<string|int, mixed>

        
On this page

Search results