class SubmitButton extends Button implements ISubmitterControl

Submittable button control.

Properties

$onClick
$onInvalidClick
bool read-only $submittedBy

Methods

__construct(string|object $caption = null)

No description

void
loadHttpData()

Loads HTTP data.

bool
isSubmittedBy()

Tells if the form was submitted by this button.

setValidationScope(iterable|null $scope)

Sets the validation scope. Clicking the button validates only the controls within the specified scope.

array|null
getValidationScope()

Gets the validation scope.

void
click()

Fires click event.

Html|string
getControl(string|object $caption = null)

Generates control's HTML element.

Details

at line 35
__construct(string|object $caption = null)

No description

Parameters

string|object $caption

at line 43
void loadHttpData()

Loads HTTP data.

Return Value

void

at line 55
bool isSubmittedBy()

Tells if the form was submitted by this button.

Return Value

bool

at line 65
SubmitButton setValidationScope(iterable|null $scope)

Sets the validation scope. Clicking the button validates only the controls within the specified scope.

Parameters

iterable|null $scope

Return Value

SubmitButton

at line 85
array|null getValidationScope()

Gets the validation scope.

Return Value

array|null

at line 94
void click()

Fires click event.

Return Value

void

at line 100
Html|string getControl(string|object $caption = null)

Generates control's HTML element.

Parameters

string|object $caption

Return Value

Html|string