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
boolean
|
|
public
|
|
public
array
|
|
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 = NULL, integer $rows = NULL )
Adds multi-line text input control to the form. |
public
|
|
public
|
#
addMultiUpload( string $name, string $label = NULL )
Adds control that allows the user to upload multiple files. |
public
|
|
public
|
|
public
|
#
addRadioList( string $name, string $label = NULL, array $items = NULL )
Adds set of radio button controls to the form. |
public
|
#
addCheckboxList( $name, $label = NULL, array $items = NULL )
Adds set of checkbox 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
|
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
callable[]
|
$onValidate
function (Container $sender); Occurs when the form is validated |
|
protected
|
$currentGroup
|
public
|
$values
|
public read-only
|
$controls
|
public read-only
|
$form
|
$components
|
$name,
$parent
|
$reflection
|