|
Moodle
2.2.1
http://www.collinsharper.com
|


Public Member Functions | |
| __construct ($locale=null) | |
| getLocale () | |
| setLocale ($locale=null) | |
| isValid ($value) | |
Data Fields | |
| const | INVALID = 'floatInvalid' |
| const | NOT_FLOAT = 'notFloat' |
Protected Attributes | |
| $_messageTemplates | |
| $_locale | |
| __construct | ( | $ | locale = null | ) |
| isValid | ( | $ | value | ) |
Defined by Zend_Validate_Interface
Returns true if and only if $value is a floating-point value
| string | $value |
Implements Zend_Validate_Interface.
Definition at line 110 of file Float.php.

| setLocale | ( | $ | locale = null | ) |
$_messageTemplates [protected] |
array( self::INVALID => "Invalid type given, value should be float, string, or integer", self::NOT_FLOAT => "'%value%' does not appear to be a float", )
Reimplemented from Zend_Validate_Abstract.