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
Namespace: Nette\Forms\Controls
Author: David Grudl
Located at vendor/nette/nette/Nette/Forms/Controls/SubmitButton.php
Author: David Grudl
Located at vendor/nette/nette/Nette/Forms/Controls/SubmitButton.php
public
|
|
public
|
|
public
boolean
|
|
public
|
#
setValidationScope( mixed $scope = NULL )
Sets the validation scope. Clicking the button validates only the controls within the specified scope. |
public
array|null
|
|
public
|
|
public
|
|
public static
boolean
|
#
validateSubmitted(
Submitted validator: has been button pressed? |
getLabel(),
isFilled()
|
__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,
$disabled,
$idMask,
$label,
$value
|
public
mixed
|
$validationScope | |
public read-only
boolean
|
$submittedBy |
$control,
$controlPrototype,
$defaultValue,
$disabled,
$errors,
$filled,
$form,
$htmlId,
$htmlName,
$label,
$labelPrototype,
$omitted,
$options,
$required,
$rules,
$translator,
$value
|
$name,
$parent
|
$reflection
|