Methods

Contenido_Notification()

Contenido_Notification() 

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

Constructor

__construct() 

Displays large message box directly.

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

Parameters

$sLevel

string

Message level, one of Contenido_Notification::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 Contenido_Notification::LEVEL_* constants

$sMessage

string

The message to display

Generates message box and returns it back.

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

Parameters

$sLevel

string

Message level, one of Contenido_Notification::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 Contenido_Notification::LEVEL_* constants

$sMessage

string

The message to display

Returns

string

 Properties

 

Colors configuration

$_aColors : array

 

HTML path to images

$_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