Méthode |
Description |
|
__call ( $name, $args ) |
******************* extension methods ****************d*g* |
|
__clone ( ) |
Prevents cloning. |
|
addButton ( $name, $caption = NULL ) : Nette\Forms\Controls\Button |
Adds push buttons with no default behavior. |
|
addCheckbox ( $name, $caption = NULL ) : Checkbox |
Adds check box control to the form. |
|
addCheckboxList ( $name, $label = NULL, array $items = NULL ) : CheckboxList |
Adds set of checkbox controls to the form. |
|
addComponent ( Nette\ComponentModel\IComponent $component, $name, $insertBefore = NULL ) : self |
Adds the specified component to the IContainer. |
|
addContainer ( $name ) : Container |
Adds naming container to the form. |
|
addEmail ( $name, $label = NULL ) : TextInput |
Adds input for email. |
|
addHidden ( $name, $default = NULL ) : HiddenField |
Adds hidden form control used to store a non-displayed value. |
|
addImage ( $name, $src = NULL, $alt = NULL ) : Nette\Forms\Controls\ImageButton |
Adds graphical button used to submit form. |
|
addInteger ( $name, $label = NULL ) : TextInput |
Adds input for integer. |
|
addMultiSelect ( $name, $label = NULL, array $items = NULL, $size = NULL ) : MultiSelectBox |
Adds select box control that allows multiple item selection. |
|
addMultiUpload ( $name, $label = NULL ) : UploadControl |
Adds control that allows the user to upload multiple files. |
|
addPassword ( $name, $label = NULL, $cols = NULL, $maxLength = NULL ) : TextInput |
Adds single-line text input control used for sensitive input such as passwords. |
|
addRadioList ( $name, $label = NULL, array $items = NULL ) : RadioList |
Adds set of radio button controls to the form. |
|
addSelect ( $name, $label = NULL, array $items = NULL, $size = NULL ) : SelectBox |
Adds select box control that allows single item selection. |
|
addSubmit ( $name, $caption = NULL ) : Nette\Forms\Controls\SubmitButton |
Adds button used to submit form. |
|
addText ( $name, $label = NULL, $cols = NULL, $maxLength = NULL ) : TextInput |
Adds single-line text input control to the form. |
|
addTextArea ( $name, $label = NULL, $cols = NULL, $rows = NULL ) : TextArea |
Adds multi-line text input control to the form. |
|
addUpload ( $name, $label = NULL, $multiple = FALSE ) : UploadControl |
Adds control that allows the user to upload files. |
|
extensionMethod ( $name, $callback = NULL ) |
|
|
getControls ( ) : ArrayIterator |
Iterates over all form controls. |
|
getCurrentGroup ( ) : ControlGroup |
Returns current group. |
|
getErrors ( ) : array |
Returns all validation errors. |
|
getForm ( $need = TRUE ) : Form |
Returns form. |
|
getValues ( $asArray = FALSE ) : Nette\Utils\ArrayHash | array |
Returns the values submitted by the form. |
|
isValid ( ) : boolean |
Is form valid? |
|
offsetExists ( $name ) : boolean |
Does component specified by name exists? |
|
offsetGet ( $name ) : Nette\ComponentModel\IComponent |
Returns component specified by name. Throws exception if component doesn't exist. |
|
offsetSet ( $name, $component ) : void |
Adds the component to the container. |
|
offsetUnset ( $name ) : void |
Removes component from the container. |
|
setCurrentGroup ( ControlGroup $group = NULL ) : self |
|
|
setDefaults ( $values, $erase = FALSE ) : self |
Fill-in with default values. |
|
setValues ( $values, $erase = FALSE ) : self |
Fill-in with values. |
|
validate ( array $controls = NULL ) : void |
Performs the server side validation. |
|