Class SubmitButton
Submittable button control.
- Nette\Object
- Nette\Component implements Nette\IComponent
- Nette\Forms\FormControl implements Nette\Forms\IFormControl
- Nette\Forms\Button
- Nette\Forms\SubmitButton implements Nette\Forms\ISubmitterControl
Direct known subclasses
Nette\Forms\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( Nette\Forms\ISubmitterControl $control )
Submitted validator: has been button pressed? |
getControl(),
getLabel()
|
__clone(),
__wakeup(),
detached(),
getName(),
getParent(),
lookup(),
lookupPath(),
monitor(),
setParent(),
unmonitor(),
validateParent()
|
__call(),
__callStatic(),
__get(),
__isset(),
__set(),
__unset(),
extensionMethod(),
getReflection()
|
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
|