Render a field. More...
Static Public Member Functions | |
static | renderFieldWidget (\Duf::Form $form, $template_engine, $widget_conf, $group_id, $field_id, $field_conf) |
Render the field widget. More... | |
Render a field.
It is like IWidgetRenderer, but form will populate additional parameters to specify the field.
|
static |
Render the field widget.
$form | is the Form. |
$template_engine | is templating engine which may be used for rendering (optional). |
$widget_conf | is configuration of the widget (from layout section). |
$group_id,$field_id | are identification of the field. |
$field_conf | is a field configuration (from field_groups section). |
Implemented in Input, Reference, RadioTabs, ItemCount, Error, HiddenInput, Label, PostAddress, Select, TextArea, ValueList, EmailList, Input, PostAddress, Reference, Select, TextArea, Thumbnail, UrlList, and ValueList.