Omeka_View_Helper_MaxFileSize

Package: View\Helper

class Omeka_View_Helper_MaxFileSize

extends Zend_View_Helper_Abstract

property Omeka_View_Helper_MaxFileSize::$_maxFileSize

protected string

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:

string

Omeka_View_Helper_MaxFileSize::_parseSize($sizeString)

Get the size in bytes represented by the given php ini config string

Parameters:
  • $sizeString (string) –

Returns:

int Size in bytes