Public Member Functions | Data Fields | Protected Attributes

Zend_Validate_File_NotExists Class Reference

Inheritance diagram for Zend_Validate_File_NotExists:
Zend_Validate_File_Exists Zend_Validate_Abstract Zend_Validate_Interface

Public Member Functions

 isValid ($value, $file=null)

Data Fields

const DOES_EXIST = 'fileNotExistsDoesExist'

Protected Attributes

 $_messageTemplates

Detailed Description

Definition at line 35 of file NotExists.php.


Member Function Documentation

isValid ( value,
file = null 
)

Defined by Zend_Validate_Interface

Returns true if and only if the file does not exist in the set destinations

Parameters:
string$valueReal file to check for
array$fileFile data from Zend_File_Transfer
Returns:
boolean

Reimplemented from Zend_Validate_File_Exists.

Definition at line 58 of file NotExists.php.


Field Documentation

$_messageTemplates [protected]
Initial value:
 array(
        self::DOES_EXIST => "The file '%value%' does exist"
    )

Reimplemented from Zend_Validate_File_Exists.

Definition at line 45 of file NotExists.php.

const DOES_EXIST = 'fileNotExistsDoesExist'

string Error constants

Definition at line 40 of file NotExists.php.


The documentation for this class was generated from the following file: