Zend_Validate_File_Size::setMax
Sets the maximum filesize
Signature
public function setMax(integer
$max )
Parameters
$max
— integer- The maximum filesize
Returns
- Zend_Validate_StringLength
- Provides a fluent interface
Errors/Exceptions
-
Zend_Validate_Exception
- When max is smaller than min