DUF: Declarative Ugly Forms  v0.1-94-g0b7957c
 All Classes Functions Variables Pages
Static Public Member Functions | Static Protected Member Functions | List of all members
Input Class Reference

Render <input> field value using <span>. More...

Inheritance diagram for Input:
Inheritance graph

Static Public Member Functions

static renderFieldWidget (\Duf::Form $form, $template_engine, $widget_conf, $group_id, $field_id, $field_conf)
 Render the field widget. More...
 

Static Protected Member Functions

static commonAttributes ($field_conf)
 Render common attributes, prefixed with space.
 

Detailed Description

Render <input> field value using <span>.

Member Function Documentation

static renderFieldWidget ( \Duf::Form  $form,
  $template_engine,
  $widget_conf,
  $group_id,
  $field_id,
  $field_conf 
)
static

Render the field widget.

Parameters
$formis the Form.
$template_engineis templating engine which may be used for rendering (optional).
$widget_confis configuration of the widget (from layout section).
$group_id,$field_idare identification of the field.
$field_confis a field configuration (from field_groups section).
Todo:
This should not be here

Implements IFieldWidgetRenderer.