SubmitButton
class SubmitButton extends Button implements ISubmitterControl
Submittable button control.
Properties
callable[] | $onClick | ||
callable[] | $onInvalidClick | ||
bool read-only | $submittedBy |
Methods
__construct($caption = NULL)
No description
void
loadHttpData()
Loads HTTP data.
bool
isSubmittedBy()
Tells if the form was submitted by this button.
setValidationScope($scope = NULL)
Sets the validation scope. Clicking the button validates only the controls within the specified scope.
mixed
getValidationScope()
Gets the validation scope.
void
click()
Fires click event.
Html|string
getControl($caption = NULL)
Generates control's HTML element.
Details
at line 33
__construct($caption = NULL)
No description
at line 45
void
loadHttpData()
Loads HTTP data.
at line 58
bool
isSubmittedBy()
Tells if the form was submitted by this button.
at line 68
SubmitButton
setValidationScope($scope = NULL)
Sets the validation scope. Clicking the button validates only the controls within the specified scope.
at line 89
mixed
getValidationScope()
Gets the validation scope.
at line 99
void
click()
Fires click event.
at line 110
Html|string
getControl($caption = NULL)
Generates control's HTML element.