Omeka_View_Helper_MaxFileSize

class Omeka_View_Helper_MaxFileSize

Package: View\Helper

property _maxFileSize
__construct()

Set the maximum file size.

The maximum file size is the least of the configurations that affect maximum file size.

maxFileSize()

Return the maximum file size.

Returns:Zend_Measure_Binary
_getSizeMeasure(string|int $size)

Get the binary measurements for file size.

Parameters:
  • $size (string|int) –
Returns:

Zend_Measure_Binary