|
ILIAS
trunk Revision v12.0_alpha-377-g3641b37b9db
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
Collaboration diagram for ilNotification:Static Public Member Functions | |
| static | hasNotification (int $type, int $user_id, int $id) |
| Check notification status for object and user. More... | |
| static | hasOptOut (int $obj_id) |
| Is opt out (disable notification) allowed? More... | |
| static | getNotificationsForObject (int $type, int $id, ?int $page_id=null, bool $ignore_threshold=false) |
| Get all users/recipients for given object. More... | |
| static | setNotification (int $type, int $user_id, int $id, bool $status=true) |
| Set notification status for object and user. More... | |
| static | updateNotificationTime (int $type, int $id, array $user_ids, ?int $page_id=null, bool $activate_new_entries=true) |
| Update the last mail timestamp for given object and users. More... | |
| static | removeForObject (int $type, int $id) |
| Remove all notifications for given object. More... | |
| static | removeForUser (int $user_id) |
| Remove all notifications for given user. More... | |
| static | getActivatedNotifications (int $type, int $user_id) |
| Get activated notifications of give type for user. More... | |
Data Fields | |
| const | THRESHOLD = 180 |
| const | TYPE_EXERCISE_SUBMISSION = 1 |
| const | TYPE_WIKI = 2 |
| const | TYPE_WIKI_PAGE = 3 |
| const | TYPE_BLOG = 4 |
| const | TYPE_DATA_COLLECTION = 5 |
| const | TYPE_POLL = 6 |
| const | TYPE_LM_BLOCKED_USERS = 7 |
| const | TYPE_BOOK = 8 |
| const | TYPE_LM = 9 |
| const | TYPE_LM_PAGE = 10 |
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.
ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.
If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning
Definition at line 22 of file class.ilNotification.php.
|
static |
Get activated notifications of give type for user.
Definition at line 342 of file class.ilNotification.php.
Referenced by ilExcTutorRepository\getExerciseIdsBeingTutor().
Here is the caller graph for this function:
|
static |
Get all users/recipients for given object.
Definition at line 107 of file class.ilNotification.php.
Referenced by ilExAssignmentReminder\parseGradeReminders(), ilLMPageGUI\processAnswer(), ilLearningModuleNotification\send(), ILIAS\Exercise\Notification\NotificationManager\sendDeadlineRequestNotification(), ilBookCronNotification\sendNotifications(), ilObjPollGUI\sendNotifications(), ilObjDataCollection\sendRecordNotification(), and ILIAS\Exercise\Notification\NotificationManager\sendUploadNotification().
Here is the caller graph for this function:
|
static |
Check notification status for object and user.
Definition at line 39 of file class.ilNotification.php.
Referenced by ilObjDataCollectionGUI\addHeaderAction(), ILIAS\Exercise\Settings\SettingsGUI\getEditForm(), ilObjExerciseGUI\getEditFormCustomValues(), ilPollBlockGUI\getHTML(), ilObjContentObjectGUI\getPropertiesFormValues(), and ilObjBookingPoolGUI\initHeaderAction().
Here is the caller graph for this function:
|
static |
Is opt out (disable notification) allowed?
Definition at line 98 of file class.ilNotification.php.
References ilObjNotificationSettings\MODE_DEF_ON_NO_OPT_OUT.
|
static |
Remove all notifications for given object.
Definition at line 311 of file class.ilNotification.php.
Referenced by ilObjExercise\delete(), ilObjWiki\delete(), ilWikiPage\delete(), and ilObjBlog\doDelete().
Here is the caller graph for this function:
|
static |
Remove all notifications for given user.
Definition at line 327 of file class.ilNotification.php.
Referenced by NotificationTest\testRemoveForUser().
Here is the caller graph for this function:
|
static |
Set notification status for object and user.
Definition at line 236 of file class.ilNotification.php.
Referenced by ilObjDataCollectionGUI\activateNotification(), ilObjDataCollectionGUI\deactivateNotification(), ilLMPresentationGUI\executeCommand(), ilWikiPageGUI\executeCommand(), ILIAS\Exercise\Settings\SettingsGUI\save(), ilObjBookingPoolGUI\saveNotificationObject(), ilObjContentObjectGUI\saveProperties(), ilObjBlogGUI\setNotification(), ilObjPollGUI\subscribe(), ilObjBibliographicGUI\toggleNotification(), ilObjPollGUI\unsubscribe(), and ilObjExerciseGUI\updateCustom().
Here is the caller graph for this function:
|
static |
Update the last mail timestamp for given object and users.
Definition at line 257 of file class.ilNotification.php.
References $id, $ilDB, and $user_id.
Referenced by ilLearningModuleNotification\send(), ilObjPollGUI\sendNotifications(), and ilObjDataCollection\sendRecordNotification().
Here is the caller graph for this function:| const ilNotification::THRESHOLD = 180 |
Definition at line 24 of file class.ilNotification.php.
| const ilNotification::TYPE_BLOG = 4 |
Definition at line 28 of file class.ilNotification.php.
Referenced by ilObjBlog\doDelete(), and ilObjBlogGUI\setNotification().
| const ilNotification::TYPE_BOOK = 8 |
Definition at line 32 of file class.ilNotification.php.
Referenced by ilObjBookingPoolGUI\initHeaderAction(), ilObjBookingPoolGUI\saveNotificationObject(), and ilBookCronNotification\sendNotifications().
| const ilNotification::TYPE_DATA_COLLECTION = 5 |
Definition at line 29 of file class.ilNotification.php.
Referenced by ilObjDataCollectionGUI\activateNotification(), ilObjDataCollectionGUI\addHeaderAction(), ilObjDataCollectionGUI\deactivateNotification(), ilObjDataCollection\sendRecordNotification(), and ilObjBibliographicGUI\toggleNotification().
| const ilNotification::TYPE_EXERCISE_SUBMISSION = 1 |
Definition at line 25 of file class.ilNotification.php.
Referenced by ilObjExercise\delete(), ILIAS\Exercise\Settings\SettingsGUI\getEditForm(), ilObjExerciseGUI\getEditFormCustomValues(), ilExcTutorRepository\getExerciseIdsBeingTutor(), ilExAssignmentReminder\parseGradeReminders(), ILIAS\Exercise\Settings\SettingsGUI\save(), ILIAS\Exercise\Notification\NotificationManager\sendDeadlineRequestNotification(), ILIAS\Exercise\Notification\NotificationManager\sendUploadNotification(), and ilObjExerciseGUI\updateCustom().
| const ilNotification::TYPE_LM = 9 |
Definition at line 33 of file class.ilNotification.php.
Referenced by ilLMPresentationGUI\executeCommand(), and ilLearningModuleNotification\send().
| const ilNotification::TYPE_LM_BLOCKED_USERS = 7 |
Definition at line 31 of file class.ilNotification.php.
Referenced by ilObjContentObjectGUI\getPropertiesFormValues(), ilLMPageGUI\processAnswer(), and ilObjContentObjectGUI\saveProperties().
| const ilNotification::TYPE_LM_PAGE = 10 |
Definition at line 34 of file class.ilNotification.php.
Referenced by ilLMPage\afterUpdate(), ilLMPresentationGUI\executeCommand(), and ilLearningModuleNotification\send().
| const ilNotification::TYPE_POLL = 6 |
Definition at line 30 of file class.ilNotification.php.
Referenced by ilPollBlockGUI\getHTML(), ilObjPollGUI\sendNotifications(), ilObjPollGUI\subscribe(), and ilObjPollGUI\unsubscribe().
| const ilNotification::TYPE_WIKI = 2 |
Definition at line 26 of file class.ilNotification.php.
Referenced by ilObjWiki\delete(), and ilWikiPageGUI\executeCommand().
| const ilNotification::TYPE_WIKI_PAGE = 3 |
Definition at line 27 of file class.ilNotification.php.
Referenced by ilWikiPage\delete(), and ilWikiPageGUI\executeCommand().