[ Index ] |
PHP Cross Reference of moodle-2.8 |
[Source view] [Print] [Project Stats]
Zend Framework LICENSE
Copyright: | Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com) |
License: | http://framework.zend.com/license/new-bsd New BSD License |
Version: | $Id$ |
File Size: | 203 lines (6 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
Zend_Validate_File_Exists:: (6 methods):
__construct()
getDirectory()
setDirectory()
addDirectory()
isValid()
_throw()
Class: Zend_Validate_File_Exists - X-Ref
Validator which checks if the file already exists in the directory__construct($directory = array() X-Ref |
Sets validator options param: string|array|Zend_Config $directory return: void |
getDirectory($asArray = false) X-Ref |
Returns the set file directories which are checked param: boolean $asArray Returns the values as array, when false an concated string is returned return: string |
setDirectory($directory) X-Ref |
Sets the file directory which will be checked param: string|array $directory The directories to validate return: Zend_Validate_File_Extension Provides a fluent interface |
addDirectory($directory) X-Ref |
Adds the file directory which will be checked param: string|array $directory The directory to add for validation return: Zend_Validate_File_Extension Provides a fluent interface |
isValid($value, $file = null) X-Ref |
Defined by Zend_Validate_Interface Returns true if and only if the file already exists in the set directories param: string $value Real file to check for existance param: array $file File data from Zend_File_Transfer return: boolean |
_throw($file, $errorType) X-Ref |
Throws an error of the given type param: string $file param: string $errorType return: false |
Generated: Fri Nov 28 20:29:05 2014 | Cross-referenced by PHPXref 0.7.1 |