ILIAS
Release_4_4_x_branch Revision 61816
|
Notification handler for senden a notification popup to the recipients browser. More...
Public Member Functions | |
notify (ilNotificationObject $notification) | |
showSettings ($item) |
Static Public Member Functions | |
static | getNotificationsForUser ($user_id, $append_osd_id_to_link=true, $max_age_seconds=0) |
static | removeNotification ($notification_osd_id) |
Removes a notifcation and triggers a follow up notification to remove the notification from the browser view of the original recipient. | |
static | cleanup () |
Remove orphaned notifications. | |
static | cleanupOnRandom () |
Exec self::clean with a probability of 1%. |
Static Private Member Functions | |
static | appendOsdIdToLinks ($subject, $osd_id) |
static | appendParamToLink ($link, $param, $value) |
Helper to append an additional parameter to an existing url. |
Notification handler for senden a notification popup to the recipients browser.
Definition at line 10 of file class.ilNotificationOSDHandler.php.
|
staticprivate |
Definition at line 77 of file class.ilNotificationOSDHandler.php.
References appendParamToLink().
Referenced by getNotificationsForUser().
|
staticprivate |
Helper to append an additional parameter to an existing url.
string | $link | |
string | $param | |
scalar | $value |
Definition at line 155 of file class.ilNotificationOSDHandler.php.
Referenced by appendOsdIdToLinks(), and getNotificationsForUser().
|
static |
Remove orphaned notifications.
ilDB $ilDB
Definition at line 131 of file class.ilNotificationOSDHandler.php.
References $query, and ilNotificationSetupHelper\$tbl_notification_osd_handler.
Referenced by cleanupOnRandom().
|
static |
Exec self::clean with a probability of 1%.
Definition at line 140 of file class.ilNotificationOSDHandler.php.
References cleanup().
Referenced by getNotificationsForUser().
|
static |
Definition at line 41 of file class.ilNotificationOSDHandler.php.
References $query, $row, ilNotificationSetupHelper\$tbl_notification_osd_handler, appendOsdIdToLinks(), appendParamToLink(), and cleanupOnRandom().
Referenced by ilNotificationGUI\getOSDNotificationsObject().
ilNotificationOSDHandler::notify | ( | ilNotificationObject | $notification | ) |
Reimplemented from ilNotificationEchoHandler.
Definition at line 11 of file class.ilNotificationOSDHandler.php.
References ilNotificationSetupHelper\$tbl_notification_osd_handler.
|
static |
Removes a notifcation and triggers a follow up notification to remove the notification from the browser view of the original recipient.
ilDB $ilDB
integer | $notification_osd_id |
Definition at line 96 of file class.ilNotificationOSDHandler.php.
References $query, $row, ilNotificationSetupHelper\$tbl_notification_osd_handler, and ilNotificationSystem\sendNotificationToUsers().
Referenced by ilNotificationGUI\removeOSDNotificationsObject().
ilNotificationOSDHandler::showSettings | ( | $item | ) |
Reimplemented from ilNotificationHandler.
Definition at line 29 of file class.ilNotificationOSDHandler.php.
References $lng, and ilFormPropertyGUI\setRequired().