MediaWiki
REL1_22
|
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 1895 of file HTMLForm.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 | $value | the value the field was submitted with |
array | $alldata | the data collected from the form |
Reimplemented from HTMLFloatField.
Definition at line 1896 of file HTMLForm.php.