Omeka_View_Helper_MaxFileSize¶
Package: View\Helper
- class Omeka_View_Helper_MaxFileSize¶
extends Zend_View_Helper_Abstract
- property Omeka_View_Helper_MaxFileSize::$_maxFileSize¶
protected Zend_Measure_Binary
- Omeka_View_Helper_MaxFileSize::__construct()¶
Set the maximum file size.
The maximum file size is the least of the configurations that affect maximum file size.
- Omeka_View_Helper_MaxFileSize::maxFileSize()¶
Return the maximum file size.
Returns: Zend_Measure_Binary
- Omeka_View_Helper_MaxFileSize::_getSizeMeasure($size)¶
Get the binary measurements for file size.
Parameters:
- $size (string|int) –
Returns: Zend_Measure_Binary