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

Render collection into HTML <table> with additional control elements around. More...

Inheritance diagram for Tabular:
Inheritance graph

Static Public Member Functions

static renderWidget (\Duf::Form $form, $template_engine, $widget_conf)
 Render the widget. More...
 

Detailed Description

Render collection into HTML <table> with additional control elements around.

Multi-dimensional collections are flattened into simple list of table rows.

See also
Tabular.

Member Function Documentation

static renderWidget ( \Duf::Form  $form,
  $template_engine,
  $widget_conf 
)
static

Render the widget.

Parameters
$formis the Form.
$template_engineis templating engine which may be used for rendering (optional).
$widget_confis configuration of the widget. It must contain `'#!'` key to determine next renderer.

Implements IWidgetRenderer.

Here is the call graph for this function: