Inherits HTMLFormField.
Public Member Functions | |
validate ($value, $alldata) | |
Override this function to add specific validation checks on the field input. | |
getInputHTML ($value) | |
This function must be implemented to return the HTML to generate the input object itself. |
Basically a wrapper for Xmlselect class
Definition at line 1082 of file HTMLForm.php.
HTMLSelectField::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 1095 of file HTMLForm.php.
References $options.
HTMLSelectField::validate | ( | $ | value, | |
$ | alldata | |||
) |
Override this function to add specific validation checks on the field input.
Don't forget to call parent::validate() to ensure that the user-defined callback mValidationCallback is still run
$value | String the value the field was submitted with | |
$alldata | $all the data collected from the form |
Reimplemented from HTMLFormField.
Definition at line 1084 of file HTMLForm.php.
References HTMLFormField::flattenOptions(), and wfMsgExt().