Class Month
Responsibility: init, pre-dispatch and render <input>
HTML element with type month
to select month number in year. Month
field has it's own validator to check submitted value format/min/max/step and dangerous characters in submitted month value.
- MvcCore\Ext\Forms\Field implements MvcCore\Ext\Forms\IField uses MvcCore\Ext\Forms\Field\Props, MvcCore\Ext\Forms\Field\Getters, MvcCore\Ext\Forms\Field\Setters, MvcCore\Ext\Forms\Field\Rendering
-
MvcCore\Ext\Forms\Fields\Date implements MvcCore\Ext\Forms\Fields\IVisibleField, MvcCore\Ext\Forms\Fields\ILabel, MvcCore\Ext\Forms\Fields\IMinMaxStepDates, MvcCore\Ext\Forms\Fields\IFormat, MvcCore\Ext\Forms\Fields\IDataList uses MvcCore\Ext\Forms\Field\Props\VisibleField, MvcCore\Ext\Forms\Field\Props\Label, MvcCore\Ext\Forms\Field\Props\MinMaxStepDates, MvcCore\Ext\Forms\Field\Props\Format, MvcCore\Ext\Forms\Field\Props\DataList, MvcCore\Ext\Forms\Field\Props\Wrapper
-
MvcCore\Ext\Forms\Fields\Month
Namespace: MvcCore\Ext\Forms\Fields
Located at ext-form-field-date/src/MvcCore/Ext/Forms/Fields/Month.php
Located at ext-form-field-date/src/MvcCore/Ext/Forms/Fields/Month.php
GetValidatorData(),
GetValue(),
PreDispatch(),
RenderControl(),
SetValue()
|
GetList(),
SetList()
|
GetFormat(),
SetFormat()
|
GetMax(),
GetMin(),
GetStep(),
SetMax(),
SetMin(),
SetStep()
|
GetMax(),
GetMin(),
GetStep(),
SetMax(),
SetMin(),
SetStep(),
createDateTimeFromInput()
|
GetFormat(),
SetFormat()
|
GetList(),
SetList()
|
GetWrapper(),
SetWrapper(),
renderControlWrapper()
|
VERSION
|
AUTOFOCUS_DUPLICITY_EXCEPTION,
AUTOFOCUS_DUPLICITY_QUIETLY_SET_NEW,
AUTOFOCUS_DUPLICITY_UNSET_OLD_SET_NEW,
LABEL_SIDE_LEFT,
LABEL_SIDE_RIGHT
|
protected static
string
|
$defaultFormat
String format mask to format given values in |
#
'Y-m'
|
protected
string
|
$type
Possible values: |
#
'month'
|
protected
string[]|Closure[]
|
$validators
Validators:
- |
#
['Month']
|
$format,
$value
|
$controlAttrs,
$cssClasses,
$cssSupportingFile,
$declaredProtectedProperties,
$errors,
$form,
$id,
$jsClassName,
$jsSupportingFile,
$name,
$templates,
$title,
$translate,
$translateTitle,
$value,
$view,
$viewScript
|
$label,
$labelAttrs,
$labelSide,
$renderMode,
$translateLabel
|
$max,
$min,
$step
|
$list
|
$wrapper
|