HTMLFloatField Class Reference

A field that will contain a numeric value. More...

Inherits HTMLTextField.

Inherited by HTMLIntField.

List of all members.

Public Member Functions

 getSize ()
 validate ($value, $alldata)
 Override this function to add specific validation checks on the field input.


Detailed Description

A field that will contain a numeric value.

Definition at line 978 of file HTMLForm.php.


Member Function Documentation

HTMLFloatField::getSize (  ) 

Reimplemented from HTMLTextField.

Definition at line 980 of file HTMLForm.php.

HTMLFloatField::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

Parameters:
$value String the value the field was submitted with
$alldata $all the data collected from the form
Returns:
Mixed Bool true on success, or String error to display.

Reimplemented from HTMLFormField.

Reimplemented in HTMLIntField.

Definition at line 986 of file HTMLForm.php.


The documentation for this class was generated from the following file:

Generated on Sat Apr 30 22:57:39 2011 for MediaWiki by  doxygen 1.5.9