| ILIAS
    Release_4_1_x_branch Revision 61804
    | 
Class ilNotification. More...
 Collaboration diagram for ilNotification:
 Collaboration diagram for ilNotification:| Static Public Member Functions | |
| static | hasNotification ($type, $user_id, $id) | 
| Check notification status for object and user. | |
| static | getNotificationsForObject ($type, $id, $page_id=false) | 
| Get all users for given object. | |
| static | setNotification ($type, $user_id, $id, $status=true) | 
| Set notification status for object and user. | |
| static | updateNotificationTime ($type, $id, array $user_ids, $page_id=false) | 
| Update the last mail timestamp for given object and users. | |
| static | removeForObject ($type, $id) | 
| Remove all notifications for given object. | |
| static | removeForUser ($user_id) | 
| Remove all notifications for given user. | |
| Data Fields | |
| const | TYPE_EXERCISE_SUBMISSION = 1 | 
| const | TYPE_WIKI = 2 | 
| const | TYPE_WIKI_PAGE = 3 | 
| const | THRESHOLD = 180 | 
Class ilNotification.
Definition at line 15 of file class.ilNotification.php.
| 
 | static | 
Get all users for given object.
| int | $type | |
| int | $id | |
| int | $page_id | 
Definition at line 50 of file class.ilNotification.php.
References $ilDB, $row, and $user.
Referenced by ilWikiUtil\sendNotification(), and ilObjExerciseGUI\sendNotifications().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | static | 
Check notification status for object and user.
| int | $type | |
| int | $user_id | |
| int | $id | 
Definition at line 31 of file class.ilNotification.php.
References $ilDB.
Referenced by ilObjExerciseGUI\getPropertiesValues(), and ilWikiPageGUI\preview().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | static | 
Remove all notifications for given object.
| int | $type | |
| int | $id | 
Definition at line 136 of file class.ilNotification.php.
References $ilDB.
Referenced by ilWikiPage\delete(), ilObjWiki\delete(), and ilObjExercise\delete().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | static | 
Remove all notifications for given user.
| int | $user_id | 
Definition at line 150 of file class.ilNotification.php.
References $ilDB.
Referenced by ilObjUser\delete().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | static | 
Set notification status for object and user.
| int | $type | |
| int | $user_id | |
| int | $id | |
| bool | $status | 
Definition at line 83 of file class.ilNotification.php.
References $ilDB.
Referenced by ilWikiPageGUI\executeCommand(), and ilObjExerciseGUI\updateObject().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | static | 
Update the last mail timestamp for given object and users.
| int | $type | |
| int | $id | |
| array | $user_ids | |
| int | $page_id | 
Definition at line 111 of file class.ilNotification.php.
References $ilDB.
Referenced by ilWikiUtil\sendNotification().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| const ilNotification::THRESHOLD = 180 | 
Definition at line 21 of file class.ilNotification.php.
| const ilNotification::TYPE_EXERCISE_SUBMISSION = 1 | 
Definition at line 17 of file class.ilNotification.php.
Referenced by ilObjExercise\delete(), ilObjExerciseGUI\getPropertiesValues(), ilObjExerciseGUI\sendNotifications(), and ilObjExerciseGUI\updateObject().
| const ilNotification::TYPE_WIKI = 2 | 
Definition at line 18 of file class.ilNotification.php.
Referenced by ilWikiPage\create(), ilObjWiki\delete(), ilWikiPageGUI\executeCommand(), ilWikiPageGUI\preview(), and ilWikiUtil\sendNotification().
| const ilNotification::TYPE_WIKI_PAGE = 3 | 
Definition at line 19 of file class.ilNotification.php.
Referenced by ilWikiPage\delete(), ilWikiPageGUI\executeCommand(), ilWikiPageGUI\preview(), ilWikiUtil\sendNotification(), and ilWikiPage\update().