Public Member Functions |
| __construct ($locale=null) |
| getLocale () |
| setLocale ($locale=null) |
| isValid ($value) |
Data Fields |
const | INVALID = 'intInvalid' |
const | NOT_INT = 'notInt' |
Protected Attributes |
| $_messageTemplates |
| $_locale |
Detailed Description
Definition at line 38 of file Int.php.
Constructor & Destructor Documentation
__construct |
( |
$ |
locale = null ) |
|
Constructor for the integer validator
- Parameters:
-
Definition at line 58 of file Int.php.
Member Function Documentation
Returns the set locale
Definition at line 68 of file Int.php.
setLocale |
( |
$ |
locale = null ) |
|
Sets the locale to use
- Parameters:
-
Definition at line 78 of file Int.php.
Field Documentation
$_messageTemplates [protected] |
Initial value: array(
self::INVALID => "Invalid type given, value should be a string or a integer",
self::NOT_INT => "'%value%' does not appear to be an integer"
)
Reimplemented from Zend_Validate_Abstract.
Definition at line 46 of file Int.php.
The documentation for this class was generated from the following file:
- E:/E/GEAMP/www/openbiz/openbiz/others/Zend/Validate/Int.php