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
string
renderBegin()
Renders form begin.
string
renderEnd()
Renders form end.
string
renderErrors(IControl $control = NULL, $own = TRUE)
Renders validation errors (per form or per control).
string
renderBody()
Renders form body.
string
renderControls($parent)
Renders group of controls.
string
string
renderPairMulti(array $controls)
Renders single visual row of multiple controls.
string
string
Html
getWrapper($name)
No description
string
getValue($name)
No description
Details
at line 126
string
render(Form $form, $mode = NULL)
Provides complete form rendering.
at line 156
string
renderBegin()
Renders form begin.
at line 188
string
renderEnd()
Renders form end.
at line 211
string
renderErrors(IControl $control = NULL, $own = TRUE)
Renders validation errors (per form or per control).
at line 239
string
renderBody()
Renders form body.
at line 305
string
renderControls($parent)
Renders group of controls.
at line 347
string
renderPair(IControl $control)
Renders single visual row.
at line 368
string
renderPairMulti(array $controls)
Renders single visual row of multiple controls.
at line 404
string
renderLabel(IControl $control)
Renders 'label' part of visual row of controls.
at line 424
string
renderControl(IControl $control)
Renders 'control' part of visual row of controls.
at line 459
protected Html
getWrapper($name)
No description
at line 470
protected string
getValue($name)
No description