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 |
Detailed Description
Definition at line 38 of file Float.php.
Constructor & Destructor Documentation
__construct |
( |
$ |
locale = null ) |
|
Constructor for the float validator
- Parameters:
-
Definition at line 58 of file Float.php.
Member Function Documentation
Returns the set locale
Definition at line 68 of file Float.php.
setLocale |
( |
$ |
locale = null ) |
|
Sets the locale to use
- Parameters:
-
Definition at line 78 of file Float.php.
Field Documentation
$_messageTemplates [protected] |
Initial value: 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.
Definition at line 46 of file Float.php.
The documentation for this class was generated from the following file:
- E:/E/GEAMP/www/openbiz/openbiz/others/Zend/Validate/Float.php