MediaWiki
REL1_20
|
Add a submit button inline in the form (as opposed to HTMLForm::addButton(), which will add it at the end). More...
Public Member Functions | |
__construct ($info) | |
Initialise the object. | |
getInputHTML ($value) | |
This function must be implemented to return the HTML to generate the input object itself. | |
validate ($value, $alldata) | |
Button cannot be invalid. | |
Protected Member Functions | |
needsLabel () | |
Should this field have a label, or is there no input element with the appropriate id for the label to point to? |
Add a submit button inline in the form (as opposed to HTMLForm::addButton(), which will add it at the end).
Definition at line 2349 of file HTMLForm.php.
HTMLSubmitField::__construct | ( | $ | params | ) |
Initialise the object.
$params | array Associative Array. See HTMLForm doc for syntax. |
Reimplemented from HTMLFormField.
Definition at line 2351 of file HTMLForm.php.
Referenced by getInputHTML().
HTMLSubmitField::getInputHTML | ( | $ | value | ) |
This function must be implemented to return the HTML to generate the input object itself.
It should not implement the surrounding table cells/rows, or labels/help messages.
$value | String the value to set the input to; eg a default text for a text input. |
Reimplemented from HTMLFormField.
Definition at line 2356 of file HTMLForm.php.
References __construct().
HTMLSubmitField::needsLabel | ( | ) | [protected] |
Should this field have a label, or is there no input element with the appropriate id for the label to point to?
Reimplemented from HTMLFormField.
Definition at line 2367 of file HTMLForm.php.
HTMLSubmitField::validate | ( | $ | value, |
$ | alldata | ||
) |
Button cannot be invalid.
$value | String |
$alldata | Array |
Reimplemented from HTMLFormField.
Definition at line 2377 of file HTMLForm.php.