|
ILIAS
release_8 Revision v8.24
|
Collaboration diagram for ilForumNotification:Public Member Functions | |
| __construct (int $ref_id) | |
| setNotificationId (int $a_notification_id) | |
| getNotificationId () | |
| setUserId (?int $a_user_id) | |
| getUserId () | |
| setForumId (int $a_forum_id) | |
| getForumId () | |
| setThreadId (int $a_thread_id) | |
| getThreadId () | |
| setInterestedEvents ($interested_events) | |
| getInterestedEvents () | |
| setAdminForce (bool $a_admin_force) | |
| getAdminForce () | |
| setUserToggle (bool $a_user_toggle) | |
| getUserToggle () | |
| setForumRefId (int $a_ref_id) | |
| getForumRefId () | |
| setUserIdNoti (int $a_user_id_noti) | |
| getUserIdNoti () | |
| isAdminForceNotification () | |
| isUserToggleNotification () | |
| insertAdminForce () | |
| deleteAdminForce () | |
| deleteUserToggle () | |
| updateUserToggle () | |
| update () | |
| deleteNotificationAllUsers () | |
| read () | |
| existsNotification () | |
| cloneFromSource (int $sourceRefId) | |
| updateInterestedEvents () | |
| readInterestedEvents () | |
| readAllForcedEvents () | |
| getForcedEventsObjectByUserId (int $user_id) | |
Static Public Member Functions | |
| static | checkForumsExistsInsert (int $ref_id, int $user_id) |
| static | checkForumsExistsDelete (int $ref_id, int $user_id) |
| static | getCachedNodeData (int $ref_id) |
| static | _isParentNodeGrpCrs (int $a_ref_id) |
| static | _clearForcedForumNotifications (array $move_tree_event) |
| static | mergeThreadNotifications ($merge_source_thread_id, $merge_target_thread_id) |
Private Member Functions | |
| createMissingNotification (int $user_id) | |
Private Attributes | |
| ilDBInterface | $db |
| ilObjUser | $user |
| int | $notification_id |
| int | $user_id = null |
| int | $forum_id |
| int | $thread_id |
| bool | $admin_force = false |
| bool | $user_toggle = false |
| int | $interested_events = 0 |
| int | $ref_id |
| int | $user_id_noti |
Static Private Attributes | |
| static array | $node_data_cache = [] |
| static array | $forced_events_cache = [] |
Definition at line 21 of file class.ilForumNotification.php.
| ilForumNotification::__construct | ( | int | $ref_id | ) |
Definition at line 40 of file class.ilForumNotification.php.
References $DIC, $ref_id, and ILIAS\Repository\user().
Here is the call graph for this function:
|
static |
Definition at line 342 of file class.ilForumNotification.php.
References $DIC, $ilDB, $ref_id, and ILIAS\Repository\int().
Here is the call graph for this function:
|
static |
Definition at line 332 of file class.ilForumNotification.php.
References $DIC, and ilObjectFactory\getInstanceByRefId().
Referenced by ilForumModeratorsGUI\addModerator(), and ilForumModeratorsGUI\detachModeratorRole().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 278 of file class.ilForumNotification.php.
References $data, $DIC, $ilUser, $ref_id, $user_id, and getCachedNodeData().
Referenced by ilPDSelectedItemsBlockGUI\confirmedUnsubscribe().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 243 of file class.ilForumNotification.php.
References $admin_force, $data, $DIC, $ilUser, $ref_id, $user_id, $user_toggle, ilForumProperties\_isAdminForceNoti(), ilForumProperties\_isUserToggleNoti(), and getCachedNodeData().
Referenced by ilCourseRegistrationGUI\add(), ilGroupRegistrationGUI\add(), ilObjCourse\register(), and ilForumNotificationTest\testCheckForumsExistsInsert().
Here is the call graph for this function:
Here is the caller graph for this function:| ilForumNotification::cloneFromSource | ( | int | $sourceRefId | ) |
Definition at line 464 of file class.ilForumNotification.php.
|
private |
Definition at line 546 of file class.ilForumNotification.php.
References $ref_id.
| ilForumNotification::deleteAdminForce | ( | ) |
Definition at line 201 of file class.ilForumNotification.php.
References getForumId(), and getUserId().
Here is the call graph for this function:| ilForumNotification::deleteNotificationAllUsers | ( | ) |
Definition at line 382 of file class.ilForumNotification.php.
| ilForumNotification::deleteUserToggle | ( | ) |
Definition at line 215 of file class.ilForumNotification.php.
References getForumId(), and getUserId().
Here is the call graph for this function:| ilForumNotification::existsNotification | ( | ) |
Definition at line 453 of file class.ilForumNotification.php.
References $res.
| ilForumNotification::getAdminForce | ( | ) |
Definition at line 105 of file class.ilForumNotification.php.
References $admin_force.
Referenced by insertAdminForce().
Here is the caller graph for this function:
|
static |
Definition at line 304 of file class.ilForumNotification.php.
Referenced by checkForumsExistsDelete(), and checkForumsExistsInsert().
Here is the caller graph for this function:| ilForumNotification::getForcedEventsObjectByUserId | ( | int | $user_id | ) |
Definition at line 533 of file class.ilForumNotification.php.
| ilForumNotification::getForumId | ( | ) |
Definition at line 75 of file class.ilForumNotification.php.
References $forum_id.
Referenced by deleteAdminForce(), deleteUserToggle(), insertAdminForce(), isAdminForceNotification(), isUserToggleNotification(), and updateUserToggle().
Here is the caller graph for this function:| ilForumNotification::getForumRefId | ( | ) |
Definition at line 125 of file class.ilForumNotification.php.
References $ref_id.
| ilForumNotification::getInterestedEvents | ( | ) |
Definition at line 95 of file class.ilForumNotification.php.
References $interested_events.
| ilForumNotification::getNotificationId | ( | ) |
Definition at line 55 of file class.ilForumNotification.php.
References $notification_id.
| ilForumNotification::getThreadId | ( | ) |
Definition at line 85 of file class.ilForumNotification.php.
References $thread_id.
| ilForumNotification::getUserId | ( | ) |
Definition at line 65 of file class.ilForumNotification.php.
References $user_id.
Referenced by deleteAdminForce(), deleteUserToggle(), insertAdminForce(), isAdminForceNotification(), isUserToggleNotification(), and updateUserToggle().
Here is the caller graph for this function:| ilForumNotification::getUserIdNoti | ( | ) |
Definition at line 137 of file class.ilForumNotification.php.
References $user_id_noti.
| ilForumNotification::getUserToggle | ( | ) |
Definition at line 115 of file class.ilForumNotification.php.
References $user_toggle.
Referenced by insertAdminForce(), and updateUserToggle().
Here is the caller graph for this function:| ilForumNotification::insertAdminForce | ( | ) |
Definition at line 179 of file class.ilForumNotification.php.
References getAdminForce(), getForumId(), getUserId(), getUserToggle(), setNotificationId(), and ILIAS\Repository\user().
Here is the call graph for this function:| ilForumNotification::isAdminForceNotification | ( | ) |
Definition at line 142 of file class.ilForumNotification.php.
References $res, getForumId(), and getUserId().
Here is the call graph for this function:| ilForumNotification::isUserToggleNotification | ( | ) |
Definition at line 161 of file class.ilForumNotification.php.
References $res, getForumId(), and getUserId().
Here is the call graph for this function:
|
static |
Definition at line 413 of file class.ilForumNotification.php.
References $DIC, $ilDB, $res, and ILIAS\Repository\int().
Referenced by ilForum\mergeThreads(), and ilForumNotificationTest\testMergeThreadNotifications().
Here is the call graph for this function:
Here is the caller graph for this function:| ilForumNotification::read | ( | ) |
Definition at line 394 of file class.ilForumNotification.php.
References $res, and ILIAS\Repository\int().
Here is the call graph for this function:| ilForumNotification::readAllForcedEvents | ( | ) |
Definition at line 510 of file class.ilForumNotification.php.
References $ref_id, $res, and ILIAS\Repository\int().
Here is the call graph for this function:| ilForumNotification::readInterestedEvents | ( | ) |
Definition at line 489 of file class.ilForumNotification.php.
References $res, ilForumNotificationEvents\DEACTIVATED, and ILIAS\Repository\int().
Here is the call graph for this function:| ilForumNotification::setAdminForce | ( | bool | $a_admin_force | ) |
Definition at line 100 of file class.ilForumNotification.php.
| ilForumNotification::setForumId | ( | int | $a_forum_id | ) |
Definition at line 70 of file class.ilForumNotification.php.
| ilForumNotification::setForumRefId | ( | int | $a_ref_id | ) |
Definition at line 120 of file class.ilForumNotification.php.
| ilForumNotification::setInterestedEvents | ( | $interested_events | ) |
Definition at line 90 of file class.ilForumNotification.php.
References $interested_events.
| ilForumNotification::setNotificationId | ( | int | $a_notification_id | ) |
Definition at line 50 of file class.ilForumNotification.php.
Referenced by insertAdminForce().
Here is the caller graph for this function:| ilForumNotification::setThreadId | ( | int | $a_thread_id | ) |
Definition at line 80 of file class.ilForumNotification.php.
| ilForumNotification::setUserId | ( | ?int | $a_user_id | ) |
Definition at line 60 of file class.ilForumNotification.php.
| ilForumNotification::setUserIdNoti | ( | int | $a_user_id_noti | ) |
Definition at line 131 of file class.ilForumNotification.php.
| ilForumNotification::setUserToggle | ( | bool | $a_user_toggle | ) |
Definition at line 110 of file class.ilForumNotification.php.
| ilForumNotification::update | ( | ) |
Definition at line 366 of file class.ilForumNotification.php.
| ilForumNotification::updateInterestedEvents | ( | ) |
Definition at line 480 of file class.ilForumNotification.php.
| ilForumNotification::updateUserToggle | ( | ) |
Definition at line 230 of file class.ilForumNotification.php.
References getForumId(), getUserId(), and getUserToggle().
Here is the call graph for this function:
|
private |
Definition at line 34 of file class.ilForumNotification.php.
Referenced by checkForumsExistsInsert(), and getAdminForce().
|
private |
Definition at line 28 of file class.ilForumNotification.php.
|
staticprivate |
Definition at line 26 of file class.ilForumNotification.php.
|
private |
Definition at line 32 of file class.ilForumNotification.php.
Referenced by getForumId().
|
private |
Definition at line 36 of file class.ilForumNotification.php.
Referenced by getInterestedEvents(), and setInterestedEvents().
|
staticprivate |
Definition at line 24 of file class.ilForumNotification.php.
|
private |
Definition at line 30 of file class.ilForumNotification.php.
Referenced by getNotificationId().
|
private |
Definition at line 37 of file class.ilForumNotification.php.
Referenced by __construct(), checkForumsExistsDelete(), checkForumsExistsInsert(), getCachedNodeData(), and getForumRefId().
|
private |
Definition at line 33 of file class.ilForumNotification.php.
Referenced by getThreadId().
|
private |
Definition at line 29 of file class.ilForumNotification.php.
|
private |
Definition at line 31 of file class.ilForumNotification.php.
Referenced by checkForumsExistsDelete(), checkForumsExistsInsert(), and getUserId().
|
private |
Definition at line 38 of file class.ilForumNotification.php.
Referenced by getUserIdNoti().
|
private |
Definition at line 35 of file class.ilForumNotification.php.
Referenced by checkForumsExistsInsert(), and getUserToggle().