\j06000media_centre

Summary

Methods
Properties
Constants
__construct()
file_upload_max_size()
parse_size()
filesize_formatted()
getRetVals()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

__construct()

__construct(  $componentArgs) 

Constructor

Main functionality of the Minicomponent

Parameters

$componentArgs

file_upload_max_size()

file_upload_max_size() 

parse_size()

parse_size(  $size) 

Parameters

$size

filesize_formatted()

filesize_formatted(  $bytes) : string

Formats filesize in human readable way.

Parameters

$bytes

Returns

string —

Formatted Filesize, e.g. "113.24 MB".

getRetVals()

getRetVals() 

Must be included in every mini-component.

# Returns any settings the the mini-component wants to send back to the calling script. In addition to being returned to the calling script they are put into an array in the mcHandler object as eg. $mcHandler->miniComponentData[$ePoint][$eName]