ViolationForm extends BaseForm
Table of Contents
Properties
- $editWorktimeNotifyUsers : mixed
- $entityCode : mixed
- $hoursPerDayNotifyUsers : mixed
- $hoursPerPeriodNotifyUsers : mixed
- $id : mixed
- $maxAllowedToEditWorkTime : mixed
- $maxAllowedToEditWorkTimeFormatted : mixed
- $maxExactStart : mixed
- $maxExactStartFormatted : mixed
- $maxOffsetStart : mixed
- $maxOffsetStartFormatted : mixed
- $maxShiftStartDelay : mixed
- $maxShiftStartDelayFormatted : mixed
- $maxWorkTimeLackForPeriod : mixed
- $minDayDuration : mixed
- $minDayDurationFormatted : mixed
- $minExactEnd : mixed
- $minExactEndFormatted : mixed
- $minOffsetEnd : mixed
- $minOffsetEndFormatted : mixed
- $missedShiftStart : mixed
- $relativeEndFrom : mixed
- $relativeEndFromFormatted : mixed
- $relativeEndTo : mixed
- $relativeEndToFormatted : mixed
- $relativeStartFrom : mixed
- $relativeStartFromFormatted : mixed
- $relativeStartTo : mixed
- $relativeStartToFormatted : mixed
- $saveAllViolationFormFields : mixed
- $saveEditWorktimeViolations : mixed
- $saveHoursForPeriodViolations : mixed
- $saveHoursPerDayViolations : mixed
- $saveShiftDelayViolations : mixed
- $saveStartEndViolations : mixed
- $scheduleId : mixed
- $shiftCheckNotifyUsers : mixed
- $shiftTimeNotifyUsers : mixed
- $startEndNotifyUsers : mixed
- $useExactStartEndDay : mixed
- $useOffsetStartEndDay : mixed
- $useRelativeStartEndDay : mixed
Methods
- __construct() : mixed
- addError() : mixed
- addErrors() : mixed
- adjustViolationSeconds() : mixed
- clearErrors() : mixed
- configureFilterRules() : 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>
- getFormattedMaxAllowedToEditWorkTime() : mixed
- getFormattedMaxExactStart() : mixed
- getFormattedMaxOffsetStart() : mixed
- getFormattedMaxShiftStartDelay() : mixed
- getFormattedMaxWorkTimeLackForPeriod() : mixed
- getFormattedMinDayDuration() : mixed
- getFormattedMinExactEnd() : mixed
- getFormattedMinOffsetEnd() : mixed
- getFormattedRelativeEndFrom() : mixed
- getFormattedRelativeEndTo() : mixed
- getFormattedRelativeStartFrom() : mixed
- getFormattedRelativeStartTo() : mixed
- getFormName() : string
- hasErrors() : mixed
- isSaveEditWorktimeViolations() : mixed
- isSaveHoursForPeriodViolations() : mixed
- isSaveHoursPerDayViolations() : mixed
- isSaveShiftDelayViolations() : mixed
- isSaveStartEndViolations() : mixed
- isUseExactStartEndDay() : mixed
- isUseOffsetStartEndDay() : mixed
- isUseRelativeStartEndDay() : mixed
- load() : bool
- loadMultiple() : mixed
- resetExtraFields() : mixed
- Reset fields of form by selected UI checkboxes
- showEditWorktimeViolations() : mixed
- showExactStartEndDay() : mixed
- showFixedViolations() : mixed
- showHoursForPeriodViolations() : mixed
- showHoursPerDayViolations() : mixed
- showOffsetStartEndDay() : mixed
- showRelativeStartEndDay() : mixed
- showShiftDelayViolations() : mixed
- showShiftStartViolations() : mixed
- showShiftViolations() : mixed
- showStartEndViolations() : mixed
- showViolationContainer() : mixed
- validate() : mixed
- validateMultiple() : mixed
Properties
$editWorktimeNotifyUsers
public
mixed
$editWorktimeNotifyUsers
$entityCode
public
mixed
$entityCode
$hoursPerDayNotifyUsers
public
mixed
$hoursPerDayNotifyUsers
$hoursPerPeriodNotifyUsers
public
mixed
$hoursPerPeriodNotifyUsers
$id
public
mixed
$id
$maxAllowedToEditWorkTime
public
mixed
$maxAllowedToEditWorkTime
$maxAllowedToEditWorkTimeFormatted
public
mixed
$maxAllowedToEditWorkTimeFormatted
$maxExactStart
public
mixed
$maxExactStart
$maxExactStartFormatted
public
mixed
$maxExactStartFormatted
$maxOffsetStart
public
mixed
$maxOffsetStart
$maxOffsetStartFormatted
public
mixed
$maxOffsetStartFormatted
$maxShiftStartDelay
public
mixed
$maxShiftStartDelay
$maxShiftStartDelayFormatted
public
mixed
$maxShiftStartDelayFormatted
$maxWorkTimeLackForPeriod
public
mixed
$maxWorkTimeLackForPeriod
$minDayDuration
public
mixed
$minDayDuration
$minDayDurationFormatted
public
mixed
$minDayDurationFormatted
$minExactEnd
public
mixed
$minExactEnd
$minExactEndFormatted
public
mixed
$minExactEndFormatted
$minOffsetEnd
public
mixed
$minOffsetEnd
$minOffsetEndFormatted
public
mixed
$minOffsetEndFormatted
$missedShiftStart
public
mixed
$missedShiftStart
$relativeEndFrom
public
mixed
$relativeEndFrom
$relativeEndFromFormatted
public
mixed
$relativeEndFromFormatted
$relativeEndTo
public
mixed
$relativeEndTo
$relativeEndToFormatted
public
mixed
$relativeEndToFormatted
$relativeStartFrom
public
mixed
$relativeStartFrom
$relativeStartFromFormatted
public
mixed
$relativeStartFromFormatted
$relativeStartTo
public
mixed
$relativeStartTo
$relativeStartToFormatted
public
mixed
$relativeStartToFormatted
$saveAllViolationFormFields
public
mixed
$saveAllViolationFormFields
= false
$saveEditWorktimeViolations
public
mixed
$saveEditWorktimeViolations
$saveHoursForPeriodViolations
public
mixed
$saveHoursForPeriodViolations
$saveHoursPerDayViolations
public
mixed
$saveHoursPerDayViolations
$saveShiftDelayViolations
public
mixed
$saveShiftDelayViolations
$saveStartEndViolations
public
mixed
$saveStartEndViolations
$scheduleId
public
mixed
$scheduleId
$shiftCheckNotifyUsers
public
mixed
$shiftCheckNotifyUsers
$shiftTimeNotifyUsers
public
mixed
$shiftTimeNotifyUsers
$startEndNotifyUsers
public
mixed
$startEndNotifyUsers
$useExactStartEndDay
public
mixed
$useExactStartEndDay
$useOffsetStartEndDay
public
mixed
$useOffsetStartEndDay
$useRelativeStartEndDay
public
mixed
$useRelativeStartEndDay
Methods
__construct()
public
__construct([ViolationRules|null $violationRules = null ]) : mixed
Parameters
- $violationRules : ViolationRules|null = null
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>
adjustViolationSeconds()
public
adjustViolationSeconds() : mixed
clearErrors()
public
clearErrors([mixed $attribute = null ]) : mixed
Parameters
- $attribute : mixed = null
configureFilterRules()
public
configureFilterRules() : mixed
getErrors()
public
getErrors([null $fieldName = null ]) : array<string|int, mixed>|array<string|int, FormError>
Parameters
- $fieldName : null = 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>getFormattedMaxAllowedToEditWorkTime()
public
getFormattedMaxAllowedToEditWorkTime() : mixed
getFormattedMaxExactStart()
public
getFormattedMaxExactStart() : mixed
getFormattedMaxOffsetStart()
public
getFormattedMaxOffsetStart() : mixed
getFormattedMaxShiftStartDelay()
public
getFormattedMaxShiftStartDelay() : mixed
getFormattedMaxWorkTimeLackForPeriod()
public
getFormattedMaxWorkTimeLackForPeriod() : mixed
getFormattedMinDayDuration()
public
getFormattedMinDayDuration() : mixed
getFormattedMinExactEnd()
public
getFormattedMinExactEnd() : mixed
getFormattedMinOffsetEnd()
public
getFormattedMinOffsetEnd() : mixed
getFormattedRelativeEndFrom()
public
getFormattedRelativeEndFrom() : mixed
getFormattedRelativeEndTo()
public
getFormattedRelativeEndTo() : mixed
getFormattedRelativeStartFrom()
public
getFormattedRelativeStartFrom() : mixed
getFormattedRelativeStartTo()
public
getFormattedRelativeStartTo() : mixed
getFormName()
public
getFormName() : string
Return values
stringhasErrors()
public
hasErrors([mixed $fieldName = null ]) : mixed
Parameters
- $fieldName : mixed = null
isSaveEditWorktimeViolations()
public
isSaveEditWorktimeViolations() : mixed
isSaveHoursForPeriodViolations()
public
isSaveHoursForPeriodViolations() : mixed
isSaveHoursPerDayViolations()
public
isSaveHoursPerDayViolations() : mixed
isSaveShiftDelayViolations()
public
isSaveShiftDelayViolations() : mixed
isSaveStartEndViolations()
public
isSaveStartEndViolations() : mixed
isUseExactStartEndDay()
public
isUseExactStartEndDay() : mixed
isUseOffsetStartEndDay()
public
isUseOffsetStartEndDay() : mixed
isUseRelativeStartEndDay()
public
isUseRelativeStartEndDay() : mixed
load()
public
load(HttpRequest|array<string|int, mixed> $data[, null $formName = null ]) : bool
Parameters
- $data : HttpRequest|array<string|int, mixed>
- $formName : null = null
Return values
boolloadMultiple()
public
static loadMultiple(mixed $forms, mixed $data[, mixed $formName = null ]) : mixed
Parameters
- $forms : mixed
- $data : mixed
- $formName : mixed = null
resetExtraFields()
Reset fields of form by selected UI checkboxes
public
resetExtraFields(mixed $isShifted, mixed $controlStartOnly) : mixed
Parameters
- $isShifted : mixed
- $controlStartOnly : mixed
showEditWorktimeViolations()
public
showEditWorktimeViolations() : mixed
showExactStartEndDay()
public
showExactStartEndDay() : mixed
showFixedViolations()
public
showFixedViolations(mixed $isShifted) : mixed
Parameters
- $isShifted : mixed
showHoursForPeriodViolations()
public
showHoursForPeriodViolations() : mixed
showHoursPerDayViolations()
public
showHoursPerDayViolations() : mixed
showOffsetStartEndDay()
public
showOffsetStartEndDay() : mixed
showRelativeStartEndDay()
public
showRelativeStartEndDay() : mixed
showShiftDelayViolations()
public
showShiftDelayViolations() : mixed
showShiftStartViolations()
public
showShiftStartViolations() : mixed
showShiftViolations()
public
showShiftViolations(mixed $isShifted) : mixed
Parameters
- $isShifted : mixed
showStartEndViolations()
public
showStartEndViolations() : mixed
showViolationContainer()
public
showViolationContainer(mixed $isShifted) : mixed
Parameters
- $isShifted : 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