DefaultFormRenderer
class DefaultFormRenderer extends Object implements IFormRenderer
Converts a Form into the HTML output.
Properties
array | $wrappers | /--- form.container |
|
protected Form | $form | ||
protected int | $counter |
Methods
Initializes form.
Renders form begin.
Renders form end.
Renders validation errors (per form or per control).
Renders form body.
Renders group of controls.
Renders single visual row of multiple controls.
No description
No description
Details
at line 128
string
render(Form $form, $mode = NULL)
Provides complete form rendering.
at line 159
protected void
init()
Initializes form.
at line 179
string
renderBegin()
Renders form begin.
at line 211
string
renderEnd()
Renders form end.
at line 234
string
renderErrors(IControl $control = NULL, $own = TRUE)
Renders validation errors (per form or per control).
at line 262
string
renderBody()
Renders form body.
at line 328
string
renderControls($parent)
Renders group of controls.
at line 370
string
renderPair(IControl $control)
Renders single visual row.
at line 391
string
renderPairMulti(array $controls)
Renders single visual row of multiple controls.
at line 423
string
renderLabel(IControl $control)
Renders 'label' part of visual row of controls.
at line 440
string
renderControl(IControl $control)
Renders 'control' part of visual row of controls.
at line 472
protected Html
getWrapper($name)
No description
at line 483
protected string
getValue($name)
No description