Public Member Functions | |
isValid ($value) | |
Data Fields | |
const | INVALID = 'ipInvalid' |
const | NOT_IP_ADDRESS = 'notIpAddress' |
Protected Attributes | |
$_messageTemplates |
Definition at line 33 of file Ip.php.
isValid | ( | $ | value ) |
Defined by Zend_Validate_Interface
Returns true if and only if $value is a valid IP address
mixed | $value |
Implements Zend_Validate_Interface.
$_messageTemplates [protected] |
array( self::INVALID => "Invalid type given, value should be a string", self::NOT_IP_ADDRESS => "'%value%' does not appear to be a valid IP address" )
Reimplemented from Zend_Validate_Abstract.