On 23 Jun 2009, at 17:23, Jurian Sluiman wrote:

Next, I think a validation for an integer data type isn't necessary to facilitate for ZF, because the built in php function is_int() would do enough. Therefore, if you need to validate an integer with a validator, I think the only requirement is for using it to check 1.000 vs 1,0000 :)


You might also want a wrapper around is_int() which implements the Zend_Validate_Interface, for instance if you wanted to use it in a validator chain.

Reply via email to