Bitrix API

EmployeeRepository

Table of Contents

Methods

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

Methods

deleteById()

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

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>

        
On this page

Search results