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.
Validator for the size of all files which will be validated in sum
TOO_BIG = 'fileFilesSizeTooBig'
Details TOO_SMALL = 'fileFilesSizeTooSmall'
Details NOT_READABLE = 'fileFilesSizeNotReadable'
Detailsarray $_files = ''Internal file array
Detailsarray $_messageTemplates = 'array'
Details__construct(
integer|array|Zend_Config $options
)
:
voidSets 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'
DetailsisValid(
string|array $value, array $file
=
null
)
:
booleanDefined 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).
Details