MediaWiki
REL1_19
|
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 1363 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
$value | String the value the field was submitted with |
$alldata | Array the data collected from the form |
Reimplemented from HTMLFloatField.
Definition at line 1364 of file HTMLForm.php.
References wfMsgExt().