| [ 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: | 246 lines (8 kb) |
| Included or required: | 0 times |
| Referenced: | 0 times |
| Includes or requires: | 0 files |
Zend_Validate_File_Upload:: (5 methods):
__construct()
getFiles()
setFiles()
isValid()
_throw()
Class: Zend_Validate_File_Upload - X-Ref
Validator for the maximum size of a file up to a max of 2GB| __construct($files = array() X-Ref |
| Sets validator options The array $files must be given in syntax of Zend_File_Transfer to be checked If no files are given the $_FILES array will be used automatically. NOTE: This validator will only work with HTTP POST uploads! param: array|Zend_Config $files Array of files in syntax of Zend_File_Transfer return: void |
| getFiles($file = null) X-Ref |
| Returns the array of set files param: string $files (Optional) The file to return in detail return: array |
| setFiles($files = array() X-Ref |
| Sets the files to be checked param: array $files The files to check in syntax of Zend_File_Transfer return: Zend_Validate_File_Upload Provides a fluent interface |
| isValid($value, $file = null) X-Ref |
| Defined by Zend_Validate_Interface Returns true if and only if the file was uploaded without errors param: string $value Single file to check for upload errors, when giving null the $_FILES array 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 |