| [ 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: | 164 lines (5 kb) |
| Included or required: | 0 times |
| Referenced: | 0 times |
| Includes or requires: | 0 files |
Zend_Validate_File_FilesSize:: (2 methods):
__construct()
isValid()
Class: Zend_Validate_File_FilesSize - X-Ref
Validator for the size of all files which will be validated in sum| __construct($options) X-Ref |
| Sets validator options Min limits the used diskspace for all files, when used with max=null it is the maximum filesize It also accepts an array with the keys 'min' and 'max' param: integer|array|Zend_Config $options Options for this validator return: void |
| isValid($value, $file = null) X-Ref |
| Defined by Zend_Validate_Interface Returns true if and only if the disk usage of all files is at least min and not bigger than max (when max is not null). param: string|array $value Real file to check for size param: array $file File data from Zend_File_Transfer return: boolean |
| Generated: Fri Nov 28 20:29:05 2014 | Cross-referenced by PHPXref 0.7.1 |