WorktimeRecordForm extends CompositeForm
Tags
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
$actualBreakLength
public
mixed
$actualBreakLength
$actualStartTimestamp
public
mixed
$actualStartTimestamp
$actualStopTimestamp
public
mixed
$actualStopTimestamp
$approvedBy
public
mixed
$approvedBy
$currentStatus
public
mixed
$currentStatus
$device
public
mixed
$device
$duration
public
mixed
$duration
$editedBy
public
mixed
$editedBy
$id
public
mixed
$id
$ipClose
public
mixed
$ipClose
$ipOpen
public
mixed
$ipOpen
$isSystem
public
mixed
$isSystem
$latitudeClose
public
mixed
$latitudeClose
$latitudeOpen
public
mixed
$latitudeOpen
$longitudeClose
public
mixed
$longitudeClose
$longitudeOpen
public
mixed
$longitudeOpen
$recordedBreakLength
public
mixed
$recordedBreakLength
$recordedBreakLengthTime
public
mixed
$recordedBreakLengthTime
$recordedStartDateFormatted
public
mixed
$recordedStartDateFormatted
$recordedStartSeconds
public
mixed
$recordedStartSeconds
$recordedStartTime
public
mixed
$recordedStartTime
$recordedStartTimestamp
public
mixed
$recordedStartTimestamp
$recordedStopDateFormatted
public
mixed
$recordedStopDateFormatted
$recordedStopSeconds
public
mixed
$recordedStopSeconds
$recordedStopTime
public
mixed
$recordedStopTime
$recordedStopTimestamp
public
mixed
$recordedStopTimestamp
$scheduleId
public
mixed
$scheduleId
$shiftId
public
mixed
$shiftId
$startOffset
public
mixed
$startOffset
$stopOffset
public
mixed
$stopOffset
$tasks
public
mixed
$tasks
$useEmployeesTimezone
public
mixed
$useEmployeesTimezone
= 0
$userId
public
mixed
$userId
Methods
__clone()
public
__clone() : mixed
__construct()
public
__construct([WorktimeRecord $recordEntity = null ]) : mixed
Parameters
- $recordEntity : WorktimeRecord = null
__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
configureFilterRules()
public
configureFilterRules() : mixed
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|nullgetFirstErrors()
public
getFirstErrors() : array<string|int, mixed>|array<string|int, FormError>
Return values
array<string|int, mixed>|array<string|int, FormError>getFirstEventForm()
public
getFirstEventForm() : WorktimeEventForm|null
Return values
WorktimeEventForm|nullgetFirstEventName()
public
getFirstEventName() : mixed
getFormName()
public
getFormName() : string
Return values
stringgetRecord()
public
getRecord() : mixed
getRecordedStartSeconds()
public
getRecordedStartSeconds() : mixed
getUser()
public
getUser() : User|null
Return values
User|nullgetUserFields()
public
getUserFields() : mixed
getUserUtcOffset()
public
getUserUtcOffset() : mixed
hasErrors()
public
hasErrors([mixed $fieldName = null ]) : mixed
Parameters
- $fieldName : mixed = null
initScheduleId()
public
initScheduleId(mixed $id) : mixed
Parameters
- $id : mixed
initShiftId()
public
initShiftId(mixed $id) : mixed
Parameters
- $id : mixed
load()
public
load(mixed $data[, mixed $formName = null ]) : bool
Parameters
- $data : mixed
- $formName : mixed = null
Return values
boolloadMultiple()
public
static loadMultiple(mixed $forms, mixed $data[, mixed $formName = null ]) : mixed
Parameters
- $forms : mixed
- $data : mixed
- $formName : mixed = null
resetBreakLengthFields()
public
resetBreakLengthFields() : mixed
resetStartFields()
public
resetStartFields() : mixed
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