Class Container
Container for form controls.
- Nette\ComponentModel\Component implements Nette\ComponentModel\IComponent uses Nette\SmartObject
- 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
array
|
|
public
|
|
public
|
|
public
|
#
addComponent(
Adds the specified component to the IContainer. |
public
|
|
public
|
|
public
|
|
public
|
#
addPassword( string $name, string|object $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|object $label = null, integer $cols = null, integer $rows = null )
Adds multi-line text input control to the form. |
public
|
|
public
|
|
public
|
|
public
|
#
addMultiUpload( string $name, string|object $label = null )
Adds control that allows the user to upload multiple files. |
public
|
|
public
|
|
public
|
#
addRadioList( string $name, string|object $label = null, array $items = null )
Adds set of radio button controls to the form. |
public
|
#
addCheckboxList( string $name, string|object $label = null, array $items = null )
Adds set of checkbox controls to the form. |
public
|
|
public
|
#
addMultiSelect( string $name, string|object $label = null, array $items = null, integer $size = null )
Adds select box control that allows multiple item selection. |
public
|
|
public
|
|
public
|
|
public
|
|
public
mixed
|
|
public static
mixed
|
|
public
|
#
offsetSet( string|integer $name,
Adds the component to the container. |
public
|
|
public
boolean
|
|
public
|
|
public
|
_isCloning(),
createComponent(),
getComponent(),
getComponents(),
removeComponent(),
validateChildComponent()
|
__construct(),
__sleep(),
__wakeup(),
attached(),
detached(),
getName(),
getParent(),
lookup(),
lookupPath(),
monitor(),
setParent(),
unmonitor(),
validateParent()
|
__callStatic(),
__get(),
__isset(),
__set(),
__unset(),
getReflection()
|
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
|