Class SubmitButton
Submittable button control.
- Nette\Object
-
Nette\ComponentModel\Component implements Nette\ComponentModel\IComponent
-
Nette\Forms\Controls\BaseControl implements Nette\Forms\IControl
-
Nette\Forms\Controls\Button
-
Nette\Forms\Controls\SubmitButton implements Nette\Forms\ISubmitterControl
Direct known subclasses
Nette\Forms\Controls\ImageButton
public
|
|
public
|
|
public
boolean
|
|
public
|
#
setValidationScope( mixed $scope )
Sets the validation scope. Clicking the button validates only the controls within the specified scope. |
final public
mixed
|
|
public
|
|
public static
boolean
|
#
validateSubmitted(
Submitted validator: has been button pressed? |
getControl(),
getLabel()
|
__clone(),
__sleep(),
__wakeup(),
detached(),
getName(),
getParent(),
lookup(),
lookupPath(),
monitor(),
unmonitor(),
validateParent()
|
__call(),
__callStatic(),
__get(),
__isset(),
__set(),
__unset(),
extensionMethod(),
getReflection()
|
setParent()
|
NAME_SEPARATOR
|
public
array
|
$onClick |
|
#
of function(SubmitButton $sender); Occurs when the button is clicked and form is successfully validated |
public
array
|
$onInvalidClick |
|
#
of function(SubmitButton $sender); Occurs when the button is clicked and form is not validated |
$caption,
$control,
$idMask,
$label,
$value
|