MediaWiki
REL1_24
|
A field that must contain a number. More...
Public Member Functions | |
validate ($value, $alldata) | |
Override this function to add specific validation checks on the field input. |
A field that must contain a number.
Definition at line 6 of file HTMLIntField.php.
HTMLIntField::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
string | array | $value | The value the field was submitted with |
array | $alldata | The data collected from the form |
Reimplemented from HTMLFloatField.
Definition at line 7 of file HTMLIntField.php.
References $value, and HTMLFormField\msg().