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 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
 Details
- visibility
- public
- final
- false
- static
- false
_addValidators
_addValidators(
          
          )
        
        :
        Add validators to the field here, called in prepareSave
 Details
 Details
- visibility
- protected
- final
- false
- static
- false
_getOutputValueFromValues
_getOutputValueFromValues(
           $values
          )
        
        :
        Arguments
- $values
 Details
 Details
- visibility
- protected
- final
- false
- static
- false
_getTrlProperties
_getTrlProperties(
          
          )
        
        :
        
 Details
 Details
- visibility
- protected
- final
- false
- static
- false
_getValueFromPostData
_getValueFromPostData(
           $postData
          )
        
        :
        Arguments
- $postData
 Details
 Details
- visibility
- protected
- final
- false
- static
- false
_processLoaded
_processLoaded(
           $v
          )
        
        :
        Arguments
- $v
 Details
 Details
- visibility
- protected
- final
- false
- static
- false
getFrontendMetaData
getFrontendMetaData(
          
          )
        
        :
        
 Details
 Details
- visibility
- public
- final
- false
- static
- false
getHideDatePicker
getHideDatePicker(
          
          )
        
        :
        
 Details
 Details
- visibility
- public
- final
- false
- static
- false
- deprecated
getTemplateVars
getTemplateVars(
           $values,  $fieldNamePostfix,  $idPrefix
          )
        
        :
        Arguments
- $values
- $fieldNamePostfix
- $idPrefix
 Details
 Details
- visibility
- public
- final
- false
- static
- false
setHideDatePicker
setHideDatePicker(
           $enable
          )
        
        :
        
Arguments
- $enable
 Details
 Details
- visibility
- public
- final
- false
- static
- false
- deprecated
setHideTrigger
setHideTrigger(
           $value
          )
        
        :
        \Kwf_Form_Field_DateFieldHides the date-picker icon next to textarea if set to false
Arguments
- $value
- boolean
Output
 Details
 Details
- visibility
- public
- final
- false
- static
- false
- fluent
- This method is part of a fluent interface and will return the same instance