\PluginFusioninventoryDisplay

Manage the general display in plugin.

Summary

Methods
Properties
Constants
bar()
disableDebug()
reenableusemode()
error_handler()
getProgressBar()
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

bar()

bar(integer  $percentage, string  $message = '', string  $order = '', integer  $width = '400', integer  $height = '20') 

Display static progress bar (used for SNMP cartridge state)

Parameters

integer $percentage
string $message
string $order
integer $width
integer $height

disableDebug()

disableDebug() 

Disable debug mode to not see php errors

reenableusemode()

reenableusemode() 

Enable debug mode if user is in debug mode

error_handler()

error_handler(integer  $errno, string  $errstr, string  $errfile, integer  $errline) 

When debug is disabled, we transfer every errors in this emtpy function.

Parameters

integer $errno
string $errstr
string $errfile
integer $errline

getProgressBar()

getProgressBar(integer  $width, integer  $percent, array  $options = array()) : string

Display progress bar

Parameters

integer $width
integer $percent
array $options

Returns

string