Methods

Constructor

__construct() 

cGuiNotification()

cGuiNotification() 
deprecated [2011-05-19] Old constructor function for downwards compatibility

Displays large message box directly.

displayMessageBox(string $sLevel, string $sMessage, int $iStyle) : void

Parameters

$sLevel

string

Message level, one of cGuiNotification::LEVEL_* constants

$sMessage

string

The message to display

$iStyle

int

Flag tp use styles for display or not (feasible 1 or 0)

Displays small message box directly.

displayNotification(string $sLevel, string $sMessage) : void

Parameters

$sLevel

string

Message level, one of cGuiNotification::LEVEL_* constants

$sMessage

string

The message to display

Generates message box and returns it back.

returnMessageBox(string $sLevel, string $sMessage, int $iStyle) : string

Parameters

$sLevel

string

Message level, one of cGuiNotification::LEVEL_* constants

$sMessage

string

The message to display

$iStyle

int

Flag tp use styles for display or not (feasible 1 or 0)

Returns

string

Generates message box and returns it back, uses markup with table.

returnNotification(string $sLevel, string $sMessage) : string

Parameters

$sLevel

string

Message level, one of cGuiNotification::LEVEL_* constants

$sMessage

string

The message to display

Returns

string

 Properties

 

$_sPathImages : string

 Constants

 

Error message level

LEVEL_ERROR : string
 

Info message level

LEVEL_INFO : string
 

Notification message level

LEVEL_NOTIFICATION : string
 

Warning message level

LEVEL_WARNING : string