Form/Field/DateField.php
- package
- Form
- Classes
- Kwf_Form_Field_DateField
Description
Text field where only a date input is valid. Datepicker is shown in ExtJS and Frontend If you want to use this class please add Admin.dep[] = ExtFormDateField to your "dependencies.ini
\Kwf_Form_Field_DateField
- Extends from
- \Kwf_Form_Field_SimpleAbstract
- package
- Form
- Methods
- __construct
- _addValidators
- _getOutputValueFromValues
- _getTrlProperties
- _getValueFromPostData
- _processLoaded
- getFrontendMetaData
- getHideDatePicker
- getTemplateVars
- setHideDatePicker
- setHideTrigger
Description
Text field where only a date input is valid. Datepicker is shown in ExtJS and Frontend If you want to use this class please add Admin.dep[] = ExtFormDateField to your "dependencies.ini
Methods
__construct
__construct(
$field_name
=
null, $field_label
=
null
)
:
Zeigt mehrere Checkboxes an und speichert diese in einer Relationstabelle
Arguments
- $field_name
- $field_label
Details
- visibility
- public
- final
- false
- static
- false
_addValidators
_addValidators(
)
:
Add validators to the field here, called in prepareSave
Details
- visibility
- protected
- final
- false
- static
- false
_getOutputValueFromValues
_getOutputValueFromValues(
$values
)
:
Arguments
- $values
Details
- visibility
- protected
- final
- false
- static
- false
_getTrlProperties
_getTrlProperties(
)
:
Details
- visibility
- protected
- final
- false
- static
- false
_getValueFromPostData
_getValueFromPostData(
$postData
)
:
Arguments
- $postData
Details
- visibility
- protected
- final
- false
- static
- false
_processLoaded
_processLoaded(
$v
)
:
Arguments
- $v
Details
- visibility
- protected
- final
- false
- static
- false
getFrontendMetaData
getFrontendMetaData(
)
:
Details
- visibility
- public
- final
- false
- static
- false
getHideDatePicker
getHideDatePicker(
)
:
Details
- visibility
- public
- final
- false
- static
- false
- deprecated
getTemplateVars
getTemplateVars(
$values, $fieldNamePostfix, $idPrefix
)
:
Arguments
- $values
- $fieldNamePostfix
- $idPrefix
Details
- visibility
- public
- final
- false
- static
- false
setHideDatePicker
setHideDatePicker(
$enable
)
:
Arguments
- $enable
Details
- visibility
- public
- final
- false
- static
- false
- deprecated
setHideTrigger
setHideTrigger(
$value
)
:
\Kwf_Form_Field_DateField
Hides the date-picker icon next to textarea if set to false
Arguments
- $value
- boolean
Output
Details
- visibility
- public
- final
- false
- static
- false
- fluent
- This method is part of a fluent interface and will return the same instance