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 message level |
#
'error'
|
string |
LEVEL_WARNING
Warning message level |
#
'warning'
|
string |
LEVEL_INFO
Info message level |
#
'info'
|
string |
LEVEL_NOTIFICATION
Notification message level |
#
'notification'
|
protected
string
|
$_sPathImages
HTML path to images |