ScheduleForm extends CompositeForm
Tags
Table of Contents
Constants
- ALL_USERS = 'UA'
Properties
- $allowedDevices : mixed
- $assignments : mixed
- $assignmentsExcluded : mixed
- $controlledActions : mixed
- $departmentIds : mixed
- $departmentIdsExcluded : mixed
- $id : mixed
- $isForAllUsers : mixed
- $name : mixed
- $reportPeriod : mixed
- $reportPeriodStartWeekDay : mixed
- $shiftForms : array<string|int, ShiftForm>
- $type : mixed
- $userIds : mixed
- $userIdsExcluded : mixed
Methods
- __clone() : mixed
- __construct() : mixed
- __get() : mixed
- __isset() : mixed
- __set() : mixed
- addError() : mixed
- addErrors() : mixed
- clearErrors() : mixed
- configureFilterRules() : mixed
- deleteDuplicatedAssignments() : 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>
- getFormName() : string
- getMobileRecordLocation() : mixed
- getSchedule() : mixed
- getShiftForms() : mixed
- getShiftIds() : mixed
- hasErrors() : mixed
- isB24TimeDeviceAllowed() : mixed
- isBrowserDeviceAllowed() : mixed
- isFixed() : mixed
- isMobileDeviceAllowed() : mixed
- isShifted() : mixed
- load() : bool
- loadMultiple() : mixed
- setSchedule() : mixed
- validate() : mixed
- validateMultiple() : mixed
Constants
ALL_USERS
public
mixed
ALL_USERS
= 'UA'
Properties
$allowedDevices
public
mixed
$allowedDevices
= []
$assignments
public
mixed
$assignments
= []
$assignmentsExcluded
public
mixed
$assignmentsExcluded
= []
$controlledActions
public
mixed
$controlledActions
$departmentIds
public
mixed
$departmentIds
= []
$departmentIdsExcluded
public
mixed
$departmentIdsExcluded
= []
$id
public
mixed
$id
$isForAllUsers
public
mixed
$isForAllUsers
$name
public
mixed
$name
$reportPeriod
public
mixed
$reportPeriod
$reportPeriodStartWeekDay
public
mixed
$reportPeriodStartWeekDay
$shiftForms
public
array<string|int, ShiftForm>
$shiftForms
$type
public
mixed
$type
$userIds
public
mixed
$userIds
= []
$userIdsExcluded
public
mixed
$userIdsExcluded
= []
Methods
__clone()
public
__clone() : mixed
__construct()
public
__construct([mixed $schedule = null ]) : mixed
Parameters
- $schedule : mixed = 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>
clearErrors()
public
clearErrors([mixed $attribute = null ]) : mixed
Parameters
- $attribute : mixed = null
configureFilterRules()
public
configureFilterRules() : mixed
deleteDuplicatedAssignments()
public
deleteDuplicatedAssignments() : mixed
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>getFormName()
public
getFormName() : string
Return values
stringgetMobileRecordLocation()
public
getMobileRecordLocation() : mixed
getSchedule()
public
getSchedule() : mixed
getShiftForms()
public
getShiftForms() : mixed
getShiftIds()
public
getShiftIds() : mixed
hasErrors()
public
hasErrors([mixed $fieldName = null ]) : mixed
Parameters
- $fieldName : mixed = null
isB24TimeDeviceAllowed()
public
isB24TimeDeviceAllowed() : mixed
isBrowserDeviceAllowed()
public
isBrowserDeviceAllowed() : mixed
isFixed()
public
isFixed() : mixed
isMobileDeviceAllowed()
public
isMobileDeviceAllowed() : mixed
isShifted()
public
isShifted() : 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
setSchedule()
public
setSchedule(mixed $schedule) : mixed
Parameters
- $schedule : 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