Form/Field/ShowField.php
- package
- Form
- Classes
- Kwf_Form_Field_ShowField
Description
\Kwf_Form_Field_ShowField
- Extends from
- \Kwf_Form_Field_SimpleAbstract
- package
- Form
- Methods
- __construct
- getTemplateVars
- prepareSave
- setTpl
- validate
Description
Base class for form fields that represent a textual value
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
getTemplateVars
getTemplateVars(
$values, $fieldNamePostfix, $idPrefix
)
:
Arguments
- $values
- $fieldNamePostfix
- $idPrefix
Details
- visibility
- public
- final
- false
- static
- false
prepareSave
prepareSave(
$row, $postData
)
:
Arguments
- $row
- $postData
Details
- visibility
- public
- final
- false
- static
- false
setTpl
setTpl(
string $tpl
)
:
can be used to set a specific renderer
e.g '{value:date}' to use the date renderer
Arguments
- $tpl
- string
template
Details
- visibility
- public
- final
- false
- static
- false
validate
validate(
$row, $postData
)
:
Arguments
- $row
- $postData
Details
- visibility
- public
- final
- false
- static
- false