UNA
|
Public Member Functions | |
__clone () | |
setEnabled ($bEnabled) | |
add ($sId, $sMsg, $iType=BX_INFORMER_INFO) | |
remove ($sId) | |
get ($sId) | |
Static Public Member Functions | |
static | getInstance ($oTemplate=false) |
Static Public Member Functions inherited from iBxDolSingleton | |
static | getInstance () |
Protected Member Functions | |
__construct () | |
_addPermanentMessages () | |
Protected Attributes | |
$_bEnabled = true | |
$_aMessages = array() | |
Informer.
It displays alerts or information messages in clearly visible area on the page to let user know important information.
Adding message to informer:
|
protected |
Constructor
Reimplemented from BxDolFactory.
BxDolInformer::__clone | ( | ) |
Prevent cloning the instance
|
protected |
Add permanent messages which are displayed on every page.
system
informer_permament_messages
informer
- [object] object with informer
BxDolInformer::add | ( | $sId, | |
$sMsg, | |||
$iType = BX_INFORMER_INFO ) |
Add message to informer.
$sId | - message id |
$sMsg | - message text |
$iType | - message type: BX_INFORMER_ALERT, BX_INFORMER_INFO or BX_INFORMER_ERROR |
BxDolInformer::get | ( | $sId | ) |
Get message from informer.
$sId | - message id |
|
static |
Get Informer object instance
BxDolInformer::remove | ( | $sId | ) |
Remove message from informer.
$sId | - message id |