Class DefaultFormRenderer
Converts a Form into the HTML output.
- Nette\Object
- Nette\Forms\Rendering\DefaultFormRenderer implements Nette\Forms\IFormRenderer
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
string
|
|
public
string
|
|
protected
|
|
protected
string
|
__call(),
__callStatic(),
__get(),
__isset(),
__set(),
__unset(),
extensionMethod(),
getReflection()
|
public
array
|
$wrappers
/--- form.container |
# array(
'form' => array(
'container' => NULL,
),
'error' => array(
'container' => 'ul class=error',
'item' => 'li',
),
'group' => array(
'container' => 'fieldset',
'label' => 'legend',
'description' => 'p',
),
'controls' => array(
'container' => 'table',
),
'pair' => array(
'container' => 'tr',
'.required' => 'required',
'.optional' => NULL,
'.odd' => NULL,
'.error' => NULL,
),
'control' => array(
'container' => 'td',
'.odd' => NULL,
'description' => 'small',
'requiredsuffix' => '',
'errorcontainer' => 'span class=error',
'erroritem' => '',
'.required' => 'required',
'.text' => 'text',
'.password' => 'text',
'.file' => 'text',
'.submit' => 'button',
'.image' => 'imagebutton',
'.button' => 'button',
),
'label' => array(
'container' => 'th',
'suffix' => NULL,
'requiredsuffix' => '',
),
'hidden' => array(
'container' => 'div',
),
) |
protected
|
$form
|
|
protected
integer
|
$counter
|
$reflection
|