Public Member Functions | |
isValid ($value, $file=null) | |
Data Fields | |
const | FALSE_EXTENSION = 'fileExcludeExtensionFalse' |
const | NOT_FOUND = 'fileExcludeExtensionNotFound' |
Protected Attributes | |
$_messageTemplates |
Definition at line 35 of file ExcludeExtension.php.
isValid | ( | $ | value, |
$ | file = null |
||
) |
Defined by Zend_Validate_Interface
Returns true if and only if the fileextension of $value is not included in the set extension list
string | $value | Real file to check for extension |
array | $file | File data from Zend_File_Transfer |
Reimplemented from Zend_Validate_File_Extension.
Definition at line 61 of file ExcludeExtension.php.
$_messageTemplates [protected] |
array( self::FALSE_EXTENSION => "The file '%value%' has a false extension", self::NOT_FOUND => "The file '%value%' was not found" )
Reimplemented from Zend_Validate_File_Extension.
Definition at line 46 of file ExcludeExtension.php.
const FALSE_EXTENSION = 'fileExcludeExtensionFalse' |
string Error constants
Reimplemented from Zend_Validate_File_Extension.
Definition at line 40 of file ExcludeExtension.php.