ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Notification handler for senden a notification popup to the recipients browser. More...
Public Member Functions | |
__construct (\ilDBInterface $database=null, \ilLanguage $language=null, \ILIAS\DI\Container $dic=null) | |
ilNotificationOSDHandler constructor. More... | |
notify (ilNotificationObject $notification) | |
showSettings ($item) | |
Public Member Functions inherited from ilNotificationEchoHandler | |
notify (ilNotificationObject $notification) | |
Public Member Functions inherited from ilNotificationHandler | |
notify (ilNotificationObject $notification) | |
showSettings ($form) | |
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. More... | |
static | cleanup () |
Remove orphaned notifications. More... | |
static | cleanupOnRandom () |
Exec self::clean with a probability of 1%. More... | |
Static Private Member Functions | |
static | appendOsdIdToLinks ($subject, $osd_id) |
static | appendParamToLink ($link, $param, $value) |
Helper to append an additional parameter to an existing url. More... | |
Private Attributes | |
$database | |
$language | |
Notification handler for senden a notification popup to the recipients browser.
Definition at line 10 of file class.ilNotificationOSDHandler.php.
ilNotificationOSDHandler::__construct | ( | \ilDBInterface | $database = null , |
\ilLanguage | $language = null , |
||
\ILIAS\DI\Container | $dic = null |
||
) |
ilNotificationOSDHandler constructor.
ilDBInterface | null | $database | |
ilLanguage | null | $language | |
\ILIAS\DI\Container | null | $dic |
Definition at line 25 of file class.ilNotificationOSDHandler.php.
References $database, $DIC, and $language.
|
staticprivate |
Definition at line 113 of file class.ilNotificationOSDHandler.php.
|
staticprivate |
Helper to append an additional parameter to an existing url.
string | $link | |
string | $param | |
scalar | $value |
Definition at line 188 of file class.ilNotificationOSDHandler.php.
|
static |
Remove orphaned notifications.
ilDB $ilDB
Definition at line 159 of file class.ilNotificationOSDHandler.php.
References $DIC, $ilDB, $query, and ilNotificationSetupHelper\$tbl_notification_osd_handler.
|
static |
Exec self::clean with a probability of 1%.
Definition at line 172 of file class.ilNotificationOSDHandler.php.
|
static |
Definition at line 76 of file class.ilNotificationOSDHandler.php.
References $DIC, $ilDB, $query, $row, ilNotificationSetupHelper\$tbl_notification_osd_handler, and $values.
Referenced by ilNotificationGUI\getOSDNotificationsObject(), and ilNotificationOSDGUI\render().
ilNotificationOSDHandler::notify | ( | ilNotificationObject | $notification | ) |
Definition at line 46 of file class.ilNotificationOSDHandler.php.
References $id, and 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 133 of file class.ilNotificationOSDHandler.php.
References $DIC, $ilDB, $query, $row, ilNotificationSetupHelper\$tbl_notification_osd_handler, and $values.
Referenced by ilPublicUserProfileGUI\executeCommand(), and ilNotificationGUI\removeOSDNotificationsObject().
ilNotificationOSDHandler::showSettings | ( | $item | ) |
Definition at line 64 of file class.ilNotificationOSDHandler.php.
References $txt.
|
private |
Definition at line 14 of file class.ilNotificationOSDHandler.php.
Referenced by __construct().
|
private |
Definition at line 17 of file class.ilNotificationOSDHandler.php.
Referenced by __construct().