Bitrix API

WorktimeRecord extends EO_WorktimeRecord

Table of Contents

Methods

approve()  : mixed
buildRecordedStartDateTime()  : DateTime|null
buildRecordedStopDateTime()  : mixed
buildStopTimestampBySecondsAndDate()  : mixed|null
calculateCurrentBreakLength()  : mixed
calculateCurrentDuration()  : mixed
collectRawValues()  : array<string|int, mixed>
continueWork()  : mixed
defineReports()  : mixed
defineSchedule()  : mixed
defineShift()  : mixed
defineWorktimeEvents()  : mixed
getRecordedBreakLength()  : mixed
isActive()  : mixed
isApproved()  : mixed
isClosed()  : mixed
isOpened()  : mixed
isPaused()  : mixed
isRecordClosed()  : mixed
isRecordedBreakLengthChanged()  : mixed
isRecordOpened()  : mixed
isRecordPaused()  : mixed
obtainEventByType()  : WorktimeEvent|null
obtainReports()  : mixed
obtainSchedule()  : Schedule|null
obtainShift()  : Shift|null
obtainUser()  : User|null
obtainWorktimeEvents()  : WorktimeEventCollection
pauseWork()  : mixed
setRecordedBreakLength()  : mixed
startWork()  : WorktimeRecord
stopWork()  : mixed
updateByForm()  : $this
wakeUpRecord()  : mixed

Methods

approve()

public approve([bool $approved = true ]) : mixed
Parameters
$approved : bool = true

buildRecordedStartDateTime()

public buildRecordedStartDateTime() : DateTime|null
Return values
DateTime|null

buildRecordedStopDateTime()

public buildRecordedStopDateTime() : mixed

buildStopTimestampBySecondsAndDate()

public buildStopTimestampBySecondsAndDate(mixed $stopSeconds, mixed $stopFormattedDate, mixed $userIdTimezone) : mixed|null
Parameters
$stopSeconds : mixed
$stopFormattedDate : mixed
$userIdTimezone : mixed
Return values
mixed|null

calculateCurrentBreakLength()

public calculateCurrentBreakLength() : mixed

calculateCurrentDuration()

public calculateCurrentDuration() : mixed

collectRawValues()

public collectRawValues() : array<string|int, mixed>
Return values
array<string|int, mixed>

defineReports()

public defineReports(mixed $reports) : mixed
Parameters
$reports : mixed

defineWorktimeEvents()

public defineWorktimeEvents(mixed $worktimeEvents) : mixed
Parameters
$worktimeEvents : mixed

getRecordedBreakLength()

public getRecordedBreakLength() : mixed

isRecordClosed()

public static isRecordClosed(mixed $record) : mixed
Parameters
$record : mixed

isRecordedBreakLengthChanged()

public isRecordedBreakLengthChanged() : mixed

isRecordOpened()

public static isRecordOpened(mixed $record) : mixed
Parameters
$record : mixed

isRecordPaused()

public static isRecordPaused(mixed $record) : mixed
Parameters
$record : mixed

setRecordedBreakLength()

public setRecordedBreakLength(mixed $length) : mixed
Parameters
$length : mixed

wakeUpRecord()

public static wakeUpRecord(mixed $record) : mixed
Parameters
$record : mixed

        
On this page

Search results