Class NConventionalRenderer
Converts a Form into the HTML output.
- NObject
- NConventionalRenderer implements IFormRenderer
public
string
|
|
public
|
|
public
mixed
|
|
protected
|
|
public
string
|
|
public
string
|
|
public
string
|
|
public
string
|
|
public
string
|
|
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,
'errors' => TRUE,
),
'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,
),
'control' => array(
'container' => 'td',
'.odd' => NULL,
'errors' => FALSE,
'description' => 'small',
'requiredsuffix' => '',
'.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
object
|
$clientScript | TRUE |
|
protected
integer
|
$counter |
|