Bitrix API

WorktimeRecordForm extends CompositeForm

Tags
@property

WorktimeEventForm[] events

Table of Contents

Properties

$actualBreakLength  : mixed
$actualStartTimestamp  : mixed
$actualStopTimestamp  : mixed
$approvedBy  : mixed
$currentStatus  : mixed
$device  : mixed
$duration  : mixed
$editedBy  : mixed
$id  : mixed
$ipClose  : mixed
$ipOpen  : mixed
$isSystem  : mixed
$latitudeClose  : mixed
$latitudeOpen  : mixed
$longitudeClose  : mixed
$longitudeOpen  : mixed
$recordedBreakLength  : mixed
$recordedBreakLengthTime  : mixed
$recordedStartDateFormatted  : mixed
$recordedStartSeconds  : mixed
$recordedStartTime  : mixed
$recordedStartTimestamp  : mixed
$recordedStopDateFormatted  : mixed
$recordedStopSeconds  : mixed
$recordedStopTime  : mixed
$recordedStopTimestamp  : mixed
$scheduleId  : mixed
$shiftId  : mixed
$startOffset  : mixed
$stopOffset  : mixed
$tasks  : mixed
$useEmployeesTimezone  : mixed
$userId  : mixed

Methods

__clone()  : mixed
__construct()  : mixed
__get()  : mixed
__isset()  : mixed
__set()  : mixed
addError()  : mixed
addErrors()  : mixed
buildStartTimestampBySecondsAndDate()  : mixed
clearErrors()  : mixed
configureFilterRules()  : mixed
createWithEventForm()  : mixed
getErrors()  : array<string|int, mixed>|array<string|int, FormError>
getFieldLabel()  : mixed
getFieldLabels()  : mixed
getFirstError()  : FormError|null
getFirstErrors()  : array<string|int, mixed>|array<string|int, FormError>
getFirstEventForm()  : WorktimeEventForm|null
getFirstEventName()  : mixed
getFormName()  : string
getRecord()  : mixed
getRecordedStartSeconds()  : mixed
getUser()  : User|null
getUserFields()  : mixed
getUserUtcOffset()  : mixed
hasErrors()  : mixed
initScheduleId()  : mixed
initShiftId()  : mixed
load()  : bool
loadMultiple()  : mixed
resetBreakLengthFields()  : mixed
resetStartFields()  : mixed
validate()  : mixed
validateMultiple()  : mixed

Properties

Methods

__get()

public __get(mixed $name) : mixed
Parameters
$name : mixed

__isset()

public __isset(mixed $name) : mixed
Parameters
$name : mixed

__set()

public __set(mixed $name, mixed $value) : mixed
Parameters
$name : mixed
$value : mixed

addError()

public addError(mixed $field[, mixed $error = '' ]) : mixed
Parameters
$field : mixed
$error : mixed = ''

addErrors()

public addErrors(array<string|int, mixed> $items) : mixed
Parameters
$items : array<string|int, mixed>

buildStartTimestampBySecondsAndDate()

public buildStartTimestampBySecondsAndDate(mixed $userIdTimezone[, mixed $oldStartTimestamp = null ]) : mixed
Parameters
$userIdTimezone : mixed
$oldStartTimestamp : mixed = null

clearErrors()

public clearErrors([mixed $attribute = null ]) : mixed
Parameters
$attribute : mixed = null

createWithEventForm()

public static createWithEventForm([mixed $eventName = null ]) : mixed
Parameters
$eventName : mixed = null

getErrors()

public getErrors([mixed $fieldName = null ]) : array<string|int, mixed>|array<string|int, FormError>
Parameters
$fieldName : mixed = null
Return values
array<string|int, mixed>|array<string|int, FormError>

getFieldLabel()

public getFieldLabel(mixed $fieldName) : mixed
Parameters
$fieldName : mixed

getFieldLabels()

public getFieldLabels() : mixed

getFirstError()

public getFirstError([string $fieldName = null ]) : FormError|null
Parameters
$fieldName : string = null
Return values
FormError|null

getFirstErrors()

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

getFormName()

public getFormName() : string
Return values
string

hasErrors()

public hasErrors([mixed $fieldName = null ]) : mixed
Parameters
$fieldName : mixed = null

initScheduleId()

public initScheduleId(mixed $id) : mixed
Parameters
$id : mixed

load()

public load(mixed $data[, mixed $formName = null ]) : bool
Parameters
$data : mixed
$formName : mixed = null
Return values
bool

loadMultiple()

public static loadMultiple(mixed $forms, mixed $data[, mixed $formName = null ]) : mixed
Parameters
$forms : mixed
$data : mixed
$formName : mixed = null

validate()

public validate([mixed $fieldsNames = null ][, mixed $clearErrors = true ]) : mixed
Parameters
$fieldsNames : mixed = null
$clearErrors : mixed = true

validateMultiple()

public static validateMultiple(array<string|int, mixed> $forms[, mixed $attributeNames = null ]) : mixed
Parameters
$forms : array<string|int, mixed>
$attributeNames : mixed = null

        
On this page

Search results