Bitrix API

WorktimeRepository

Table of Contents

Methods

buildOpenRecordsQuery()  : mixed
findAll()  : WorktimeRecordCollection
findAllForPeriod()  : mixed
findById()  : WorktimeRecord|null
findByIdWith()  : WorktimeRecord
findByUserShiftSchedule()  : WorktimeRecord|null
findLatestRecord()  : WorktimeRecord|null
findOverlappingRecordByDates()  : bool
findRecordOwnerUserId()  : mixed
save()  : Result
saveAll()  : UpdateResult|Result

Methods

findAllForPeriod()

public findAllForPeriod(DateTime $fromDateTime, DateTime $toDateTime, Schedule $schedule, mixed $userIds) : mixed
Parameters
$fromDateTime : DateTime
$toDateTime : DateTime
$schedule : Schedule
$userIds : mixed

findByIdWith()

public findByIdWith(mixed $recordId[, array<string|int, mixed> $withEntities = [] ]) : WorktimeRecord
Parameters
$recordId : mixed
$withEntities : array<string|int, mixed> = []
Tags
throws
ArgumentException
throws
SystemException
Return values
WorktimeRecord

findByUserShiftSchedule()

public findByUserShiftSchedule(mixed $userId, mixed $shiftId, mixed $scheduleId, array<string|int, mixed> $select[, null $filter = null ]) : WorktimeRecord|null
Parameters
$userId : mixed
$shiftId : mixed
$scheduleId : mixed
$select : array<string|int, mixed>
$filter : null = null
Tags
throws
ArgumentException
throws
SystemException
Return values
WorktimeRecord|null

findRecordOwnerUserId()

public findRecordOwnerUserId(mixed $recordId) : mixed
Parameters
$recordId : mixed

        
On this page

Search results