Public Member Functions | |
setNotificators ($config) | |
getNotificators () | |
addNotificator ($name, $notificatorConfig) | |
removeNotificator ($name) | |
init () | |
notifyAbout (Notification $notification) |
Public Attributes | |
$cacheTime |
Gentics Portal.Node PHP Author & Copyright (c) by Gentics Software GmbH sales @gen tics. comhttp://www.gentics.com Licenses can be found in the LICENSE.txt file in the root-folder of this installation You must not use this software without a valid license agreement.
Component for handling all Notifications in system. If need to notify all Notificators about event invoked method Yii::app()->notificationManager->notifyAbout($notification);
Definition at line 13 of file NotificationManager.php.
NotificationManager::addNotificator | ( | $name, | |
$notificatorConfig | |||
) |
Add notificator
string | $name | notificator name, if exists will be replaced |
array | object | $notificatorConfig | notificator config array or object |
Definition at line 55 of file NotificationManager.php.
Referenced by init().
NotificationManager::getNotificators | ( | ) |
Public getter
Definition at line 42 of file NotificationManager.php.
NotificationManager::init | ( | ) |
Init manager
Definition at line 83 of file NotificationManager.php.
References addNotificator().
NotificationManager::notifyAbout | ( | Notification | $notification | ) |
Method which starts handle $notification by all notificators
Notification | $notification | occurred notification |
Definition at line 98 of file NotificationManager.php.
NotificationManager::removeNotificator | ( | $name | ) |
Remove notificator
string | $name | notificator name |
Definition at line 73 of file NotificationManager.php.
NotificationManager::setNotificators | ( | $config | ) |
Public setter
array | $config | configuration array |
Definition at line 30 of file NotificationManager.php.