Class Container
Container for form controls.
- Nette\Object
- Nette\ComponentModel\Component implements Nette\ComponentModel\IComponent
- Nette\ComponentModel\Container implements Nette\ComponentModel\IContainer
- Nette\Forms\Container implements ArrayAccess
Direct known subclasses
Nette\Forms\FormIndirect known subclasses
Nette\Application\UI\Form
public
|
|
public
|
|
public
|
|
public
boolean
|
|
public
|
|
public
|
|
public
|
|
public
|
#
addComponent(
Adds the specified component to the IContainer. |
public
|
|
public
|
|
public
|
|
public
|
#
addPassword( string $name, string $label = NULL, integer $cols = NULL, integer $maxLength = NULL )
Adds single-line text input control used for sensitive input such as passwords. |
public
|
#
addTextArea( string $name, string $label = NULL, integer $cols = 40, integer $rows = 10 )
Adds multi-line text input control to the form. |
public
|
|
public
|
|
public
|
|
public
|
#
addRadioList( string $name, string $label = NULL, array $items = NULL )
Adds set of radio button controls to the form. |
public
|
|
public
|
#
addMultiSelect( string $name, string $label = NULL, array $items = NULL, integer $size = NULL )
Adds select box control that allows multiple item selection. |
public
|
|
public
|
|
public
|
|
public
|
|
public
|
#
offsetSet( string $name,
Adds the component to the container. |
public
|
|
public
boolean
|
|
public
|
|
public
|
|
public
|
createComponent(),
getComponent(),
getComponents(),
removeComponent(),
validateChildComponent()
|
__construct(),
__sleep(),
__wakeup(),
attached(),
detached(),
getName(),
getParent(),
lookup(),
lookupPath(),
monitor(),
unmonitor(),
validateParent()
|
__call(),
__callStatic(),
__get(),
__isset(),
__set(),
__unset(),
extensionMethod(),
getReflection()
|
setParent()
|
NAME_SEPARATOR
|
public
array
|
$onValidate |
|
#
of function(Form $sender); Occurs when the form is validated |
protected
|
$currentGroup |
|
|
protected
boolean
|
$valid |
|
public
|
$values | |
public
|
$currentGroup | |
public read-only
boolean
|
$valid | |
public read-only
|
$controls | |
public read-only
|
$form | |
public write-only
|
$defaults |
$components
|
$name,
$parent
|
$reflection
|