Public Member Functions | |
isValid ($value) | |
Data Fields | |
const | INVALID = 'notEmptyInvalid' |
const | IS_EMPTY = 'isEmpty' |
Protected Attributes | |
$_messageTemplates |
Definition at line 33 of file NotEmpty.php.
isValid | ( | $ | value ) |
Defined by Zend_Validate_Interface
Returns true if and only if $value is not an empty value.
string | $value |
Implements Zend_Validate_Interface.
Definition at line 54 of file NotEmpty.php.
$_messageTemplates [protected] |
array( self::IS_EMPTY => "Value is required and can't be empty", self::INVALID => "Invalid type given, value should be float, string, array, boolean or integer", )
Reimplemented from Zend_Validate_Abstract.
Definition at line 41 of file NotEmpty.php.