|
ILIAS
release_8 Revision v8.24
|
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 19 of file class.ilNotification.php.
|
static |
Get activated notifications of give type for user.
Definition at line 339 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 104 of file class.ilNotification.php.
Referenced by ilExSubmissionBaseGUI\handleNewUpload(), ilExAssignmentReminder\parseGradeReminders(), ilLMPageGUI\processAnswer(), ilLearningModuleNotification\send(), ilBookCronNotification\sendNotifications(), and ilObjPollGUI\sendNotifications().
Here is the caller graph for this function:
|
static |
Check notification status for object and user.
Definition at line 36 of file class.ilNotification.php.
Referenced by ilObjDataCollectionGUI\addHeaderAction(), 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 95 of file class.ilNotification.php.
References ilObjNotificationSettings\MODE_DEF_ON_NO_OPT_OUT.
|
static |
Remove all notifications for given object.
Definition at line 308 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 324 of file class.ilNotification.php.
Referenced by ilObjUser\delete(), and NotificationTest\testRemoveForUser().
Here is the caller graph for this function:
|
static |
Set notification status for object and user.
Definition at line 233 of file class.ilNotification.php.
Referenced by ilLMPresentationGUI\executeCommand(), ilWikiPageGUI\executeCommand(), ilObjBookingPoolGUI\saveNotificationObject(), ilObjContentObjectGUI\saveProperties(), ilObjBlogGUI\setNotification(), ilObjPollGUI\subscribe(), ilObjBibliographicGUI\toggleNotification(), ilObjDataCollectionGUI\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 254 of file class.ilNotification.php.
References $id, $ilDB, and $type.
Referenced by ilLearningModuleNotification\send(), and ilObjPollGUI\sendNotifications().
Here is the caller graph for this function:| const ilNotification::THRESHOLD = 180 |
Definition at line 21 of file class.ilNotification.php.
| const ilNotification::TYPE_BLOG = 4 |
Definition at line 25 of file class.ilNotification.php.
Referenced by ilObjBlog\doDelete(), and ilObjBlogGUI\setNotification().
| const ilNotification::TYPE_BOOK = 8 |
Definition at line 29 of file class.ilNotification.php.
Referenced by ilObjBookingPoolGUI\initHeaderAction(), ilObjBookingPoolGUI\saveNotificationObject(), and ilBookCronNotification\sendNotifications().
| const ilNotification::TYPE_DATA_COLLECTION = 5 |
Definition at line 26 of file class.ilNotification.php.
Referenced by ilObjDataCollectionGUI\addHeaderAction(), ilObjBibliographicGUI\toggleNotification(), and ilObjDataCollectionGUI\toggleNotification().
| const ilNotification::TYPE_EXERCISE_SUBMISSION = 1 |
Definition at line 22 of file class.ilNotification.php.
Referenced by ilObjExercise\delete(), ilObjExerciseGUI\getEditFormCustomValues(), ilExcTutorRepository\getExerciseIdsBeingTutor(), ilExSubmissionBaseGUI\handleNewUpload(), ilExAssignmentReminder\parseGradeReminders(), and ilObjExerciseGUI\updateCustom().
| const ilNotification::TYPE_LM = 9 |
Definition at line 30 of file class.ilNotification.php.
Referenced by ilLMPresentationGUI\executeCommand(), and ilLearningModuleNotification\send().
| const ilNotification::TYPE_LM_BLOCKED_USERS = 7 |
Definition at line 28 of file class.ilNotification.php.
Referenced by ilObjContentObjectGUI\getPropertiesFormValues(), ilLMPageGUI\processAnswer(), and ilObjContentObjectGUI\saveProperties().
| const ilNotification::TYPE_LM_PAGE = 10 |
Definition at line 31 of file class.ilNotification.php.
Referenced by ilLMPage\afterUpdate(), ilLMPresentationGUI\executeCommand(), and ilLearningModuleNotification\send().
| const ilNotification::TYPE_POLL = 6 |
Definition at line 27 of file class.ilNotification.php.
Referenced by ilPollBlockGUI\getHTML(), ilObjPollGUI\sendNotifications(), ilObjPollGUI\subscribe(), and ilObjPollGUI\unsubscribe().
| const ilNotification::TYPE_WIKI = 2 |
Definition at line 23 of file class.ilNotification.php.
Referenced by ilObjWiki\delete(), and ilWikiPageGUI\executeCommand().
| const ilNotification::TYPE_WIKI_PAGE = 3 |
Definition at line 24 of file class.ilNotification.php.
Referenced by ilWikiPage\delete(), ilWikiPageGUI\executeCommand(), and ilWikiPage\update().