Свойство | Тип | Описание | |
---|---|---|---|
$wrappers | --- error.container .... error.item [.class] \--- --- hidden.container .... HIDDEN CONTROLS \--- --- group.container .... group.label .... group.description --- controls.container --- pair.container [.required .optional .odd] --- label.container .... LABEL .... label.suffix .... label.requiredsuffix \--- --- control.container [.odd] .... CONTROL [.required .text .password .file .submit .button] .... control.requiredsuffix .... control.description .... control.errorcontainer + control.erroritem \--- \--- \--- \--- \-- |
Свойство | Тип | Описание | |
---|---|---|---|
$counter | integer | ||
$form |
Метод | Описание | |
---|---|---|
render ( |
Provides complete form rendering. | |
renderBegin ( ) : string | Renders form begin. | |
renderBody ( ) : string | Renders form body. | |
renderControl ( Nette\Forms\IControl $control ) : string | Renders 'control' part of visual row of controls. | |
renderControls ( $parent ) : string | Renders group of controls. | |
renderEnd ( ) : string | Renders form end. | |
renderErrors ( Nette\Forms\IControl $control = NULL, $own = TRUE ) : string | Renders validation errors (per form or per control). | |
renderLabel ( Nette\Forms\IControl $control ) : string | Renders 'label' part of visual row of controls. | |
renderPair ( Nette\Forms\IControl $control ) : string | Renders single visual row. | |
renderPairMulti ( array $controls ) : string | Renders single visual row of multiple controls. |
Метод | Описание | |
---|---|---|
getValue ( $name ) : string | ||
getWrapper ( $name ) : Nette\Utils\Html |
protected getWrapper ( $name ) : Nette\Utils\Html | ||
Результат | Nette\Utils\Html |
public renderControl ( Nette\Forms\IControl $control ) : string | ||
$control | Nette\Forms\IControl | |
Результат | string |
public renderControls ( $parent ) : string | ||
Результат | string |
public renderErrors ( Nette\Forms\IControl $control = NULL, $own = TRUE ) : string | ||
$control | Nette\Forms\IControl | |
Результат | string |
public renderLabel ( Nette\Forms\IControl $control ) : string | ||
$control | Nette\Forms\IControl | |
Результат | string |
public renderPair ( Nette\Forms\IControl $control ) : string | ||
$control | Nette\Forms\IControl | |
Результат | string |
public renderPairMulti ( array $controls ) : string | ||
$controls | array | |
Результат | string |
public $wrappers |