Class DefaultFormRenderer
Converts a Form into the HTML output.
- Nette\Forms\Rendering\DefaultFormRenderer implements Nette\Forms\IFormRenderer uses Nette\SmartObject
public
string
|
|
public
string
|
|
public
string
|
|
public
string
|
#
renderErrors(
Renders validation errors (per form or per control). |
public
string
|
|
public
string
|
#
renderControls(
Renders group of controls. |
public
string
|
|
public
string
|
|
public
|
|
public
|
|
protected
|
|
protected
mixed
|
__call(),
__callStatic(),
__get(),
__isset(),
__set(),
__unset(),
extensionMethod(),
getReflection()
|
public
array
|
$wrappers
/--- form.container |
# [
'form' => [
'container' => null,
],
'error' => [
'container' => 'ul class=error',
'item' => 'li',
],
'group' => [
'container' => 'fieldset',
'label' => 'legend',
'description' => 'p',
],
'controls' => [
'container' => 'table',
],
'pair' => [
'container' => 'tr',
'.required' => 'required',
'.optional' => null,
'.odd' => null,
'.error' => null,
],
'control' => [
'container' => 'td',
'.odd' => null,
'description' => 'small',
'requiredsuffix' => '',
'errorcontainer' => 'span class=error',
'erroritem' => '',
'.required' => 'required',
'.text' => 'text',
'.password' => 'text',
'.file' => 'text',
'.email' => 'text',
'.number' => 'text',
'.submit' => 'button',
'.image' => 'imagebutton',
'.button' => 'button',
],
'label' => [
'container' => 'th',
'suffix' => null,
'requiredsuffix' => '',
],
'hidden' => [
'container' => null,
],
] |
protected
|
$form
|
|
protected
integer
|
$counter
|