Class DefaultFormRenderer
Converts a Form into the HTML output.
- Nette\Object
- Nette\Forms\Rendering\DefaultFormRenderer implements Nette\Forms\IFormRenderer
Namespace: Nette\Forms\Rendering
Author: David Grudl
Located at Forms/Rendering/DefaultFormRenderer.php
Author: David Grudl
Located at Forms/Rendering/DefaultFormRenderer.php
public
string
|
|
protected
|
|
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 | 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',
),
) |
#
/--- form.container |
protected
|
$form |
|
|
protected
integer
|
$counter |
|
$reflection
|