Validate/File/NotExists.php
- category
- Zend
- copyright
- Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
- license
- http://framework.zend.com/license/new-bsd New BSD License
- package
- Zend_Validate
- version
- $Id: NotExists.php 20358 2010-01-17 19:03:49Z thomas $
- Classes
- Zend_Validate_File_NotExists
Description
Zend Framework
LICENSE
This source file is subject to the new BSD license that is bundled
with this package in the file LICENSE.txt.
It is also available through the world-wide-web at this URL:
http://framework.zend.com/license/new-bsd
If you did not receive a copy of the license and are unable to
obtain it through the world-wide-web, please send an email
to license@zend.com so we can send you a copy immediately.
Zend_Validate_File_NotExists
- Extends from
- Zend_Validate_File_Exists
- category
- Zend
- copyright
- Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
- license
- http://framework.zend.com/license/new-bsd New BSD License
- package
- Zend_Validate
- Constants
- DOES_EXIST
- Properties
- $_messageTemplates
- Methods
- isValid
Description
Validator which checks if the destination file does not exist
Constants
DOES_EXIST = 'fileNotExistsDoesExist'
Details
- value
- fileNotExistsDoesExist
- const
- string Error constants
Properties
array $_messageTemplates = 'array'
Details
- $_messageTemplates
- array
Error message templates
- visibility
- protected
- default
- array
- final
- false
- static
- false
Methods
isValid(
string $value, array $file
=
null
)
:
boolean
Defined by Zend_Validate_Interface
Returns true if and only if the file does not exist in the set destinations
Arguments
- $value
- string
Real file to check for
- $file
- array
File data from Zend_File_Transfer
Details
- visibility
- public
- final
- false
- static
- false