Class cGuiNotification
Class for displaying notifications.
Usage:
// render a error directly $oNotification = new cGuiNotification(); $oNotification->displayNotification( cGuiNotification::LEVEL_ERROR, 'Foobar does not exists' ); // assign a notification to a variable $oNotification = new cGuiNotification(); $sNotification = $oNotification->displayNotification( cGuiNotification::LEVEL_NOTIFICATION, 'Hey dude, you did it!' );
Package: Core\GUI
Copyright: four for business AG <www.4fb.de>
License: http://www.contenido.org/license/LIZENZ.txt
Author: Timo Hummel
Located at classes/gui/class.notification.php
Copyright: four for business AG <www.4fb.de>
License: http://www.contenido.org/license/LIZENZ.txt
Author: Timo Hummel
Located at classes/gui/class.notification.php
public
|
|
public
string
|
#
returnMessageBox( string $sLevel, string $sMessage, integer $iStyle = 1 )
Generates message box and returns it back. |
public
string
|
#
returnNotification( string $sLevel, string $sMessage )
Generates message box and returns it back, uses markup with table. |
public
|
|
public
|
#
displayMessageBox( string $sLevel, string $sMessage, integer $iStyle = 1 )
Displays large message box directly. |
string |
LEVEL_ERROR
|
'error' |
#
Error message level |
string |
LEVEL_WARNING
|
'warning' |
#
Warning message level |
string |
LEVEL_INFO
|
'info' |
#
Info message level |
string |
LEVEL_NOTIFICATION
|
'notification' |
#
Notification message level |
protected
string
|
$_sPathImages |
|
#
HTML path to images |