ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
Class ilForumNotification. More...
Public Member Functions | |
__construct ($ref_id) | |
Constructor public. More... | |
setNotificationId ($a_notification_id) | |
getNotificationId () | |
setUserId ($a_user_id) | |
getUserId () | |
setForumId ($a_forum_id) | |
getForumId () | |
setThreadId ($a_thread_id) | |
getThreadId () | |
setAdminForce ($a_admin_force) | |
getAdminForce () | |
setUserToggle ($a_user_toggle) | |
getUserToggle () | |
setForumRefId ($a_ref_id) | |
getForumRefId () | |
setUserIdNoti ($a_user_id_noti) | |
getUserIdNoti () | |
isAdminForceNotification () | |
isUserToggleNotification () | |
insertAdminForce () | |
deleteAdminForce () | |
deleteUserToggle () | |
updateUserToggle () | |
update () | |
deleteNotificationAllUsers () | |
read () | |
existsNotification () | |
Static Public Member Functions | |
static | checkForumsExistsInsert ($ref_id, $user_id=0) |
static | checkForumsExistsDelete ($ref_id, $user_id=0) |
static | getCachedNodeData ($ref_id) |
static | _isParentNodeGrpCrs ($a_ref_id) |
static | _clearForcedForumNotifications ($a_parameter) |
static | checkParentNodeTree ($ref_id) |
static | mergeThreadNotificiations ($merge_source_thread_id, $merge_target_thread_id) |
Static Protected Attributes | |
static | $node_data_cache = array() |
Private Attributes | |
$notification_id | |
$user_id | |
$forum_id | |
$thread_id | |
$admin_force | |
$user_toggle | |
$ref_id | |
Class ilForumNotification.
Definition at line 16 of file class.ilForumNotification.php.
ilForumNotification::__construct | ( | $ref_id | ) |
Constructor public.
Definition at line 35 of file class.ilForumNotification.php.
|
static |
|
static |
Definition at line 297 of file class.ilForumNotification.php.
References ilObjectFactory\getInstanceByRefId().
Referenced by ilForumModeratorsGUI\addModerator(), and ilForumModeratorsGUI\detachModeratorRole().
|
static |
Definition at line 254 of file class.ilForumNotification.php.
References $data, $ilUser, $ref_id, and $user_id.
Referenced by ilPDSelectedItemsBlockGUI\confirmedUnsubscribe().
|
static |
Definition at line 218 of file class.ilForumNotification.php.
References $admin_force, $data, $ilUser, $ref_id, $user_id, $user_toggle, ilForumProperties\_isAdminForceNoti(), and ilForumProperties\_isUserToggleNoti().
Referenced by ilGroupRegistrationGUI\add(), ilCourseRegistrationGUI\add(), and ilObjCourse\register().
|
static |
Definition at line 335 of file class.ilForumNotification.php.
References $ref_id, $result, ilGroupParticipants\_getInstanceByObjId(), ilCourseParticipants\_getInstanceByObjId(), ilForum\_getModerators(), array, and ilObjectFactory\getInstanceByRefId().
ilForumNotification::deleteAdminForce | ( | ) |
Definition at line 170 of file class.ilForumNotification.php.
References $ilDB, $res, array, getForumId(), and getUserId().
ilForumNotification::deleteNotificationAllUsers | ( | ) |
Definition at line 379 of file class.ilForumNotification.php.
References $ilDB, $res, array, and getForumId().
Referenced by ilObjForumGUI\infoScreenObject().
ilForumNotification::deleteUserToggle | ( | ) |
Definition at line 184 of file class.ilForumNotification.php.
References $ilDB, $ilUser, $res, array, getForumId(), and getUserId().
ilForumNotification::existsNotification | ( | ) |
Definition at line 449 of file class.ilForumNotification.php.
References $ilDB, $res, $row, array, getAdminForce(), getForumId(), and getUserId().
ilForumNotification::getAdminForce | ( | ) |
Definition at line 86 of file class.ilForumNotification.php.
References $admin_force.
Referenced by existsNotification(), insertAdminForce(), and update().
|
static |
$ref_id |
Definition at line 286 of file class.ilForumNotification.php.
References $ref_id.
ilForumNotification::getForumId | ( | ) |
Definition at line 67 of file class.ilForumNotification.php.
References $forum_id.
Referenced by deleteAdminForce(), deleteNotificationAllUsers(), deleteUserToggle(), existsNotification(), insertAdminForce(), isAdminForceNotification(), isUserToggleNotification(), read(), update(), and updateUserToggle().
ilForumNotification::getForumRefId | ( | ) |
ilForumNotification::getNotificationId | ( | ) |
ilForumNotification::getThreadId | ( | ) |
ilForumNotification::getUserId | ( | ) |
Definition at line 58 of file class.ilForumNotification.php.
References $user_id.
Referenced by deleteAdminForce(), deleteUserToggle(), existsNotification(), insertAdminForce(), isAdminForceNotification(), isUserToggleNotification(), update(), and updateUserToggle().
ilForumNotification::getUserIdNoti | ( | ) |
Definition at line 116 of file class.ilForumNotification.php.
ilForumNotification::getUserToggle | ( | ) |
Definition at line 96 of file class.ilForumNotification.php.
References $user_toggle.
Referenced by insertAdminForce(), update(), and updateUserToggle().
ilForumNotification::insertAdminForce | ( | ) |
Definition at line 157 of file class.ilForumNotification.php.
References $ilDB, $ilUser, $res, array, getAdminForce(), getForumId(), getUserId(), and getUserToggle().
ilForumNotification::isAdminForceNotification | ( | ) |
Definition at line 121 of file class.ilForumNotification.php.
References $ilDB, $res, $row, array, getForumId(), and getUserId().
ilForumNotification::isUserToggleNotification | ( | ) |
Definition at line 138 of file class.ilForumNotification.php.
References $ilDB, $res, $row, array, getForumId(), and getUserId().
Referenced by ilObjForumGUI\getUserNotificationTableData().
|
static |
Definition at line 409 of file class.ilForumNotification.php.
References $ilDB, $res, $row, and array.
Referenced by ilForum\mergeThreads().
ilForumNotification::read | ( | ) |
Definition at line 391 of file class.ilForumNotification.php.
References $ilDB, $query, $result, $row, array, and getForumId().
ilForumNotification::setAdminForce | ( | $a_admin_force | ) |
Definition at line 82 of file class.ilForumNotification.php.
Referenced by ilObjForumGUI\getIcon().
ilForumNotification::setForumId | ( | $a_forum_id | ) |
Definition at line 63 of file class.ilForumNotification.php.
ilForumNotification::setForumRefId | ( | $a_ref_id | ) |
Definition at line 101 of file class.ilForumNotification.php.
ilForumNotification::setNotificationId | ( | $a_notification_id | ) |
Definition at line 46 of file class.ilForumNotification.php.
ilForumNotification::setThreadId | ( | $a_thread_id | ) |
Definition at line 72 of file class.ilForumNotification.php.
ilForumNotification::setUserId | ( | $a_user_id | ) |
Definition at line 54 of file class.ilForumNotification.php.
Referenced by ilObjForumGUI\getUserNotificationTableData().
ilForumNotification::setUserIdNoti | ( | $a_user_id_noti | ) |
Definition at line 111 of file class.ilForumNotification.php.
ilForumNotification::setUserToggle | ( | $a_user_toggle | ) |
Definition at line 92 of file class.ilForumNotification.php.
ilForumNotification::update | ( | ) |
Definition at line 365 of file class.ilForumNotification.php.
References $ilDB, $res, array, getAdminForce(), getForumId(), getUserId(), and getUserToggle().
ilForumNotification::updateUserToggle | ( | ) |
Definition at line 200 of file class.ilForumNotification.php.
References $ilDB, $res, array, getForumId(), getUserId(), and getUserToggle().
|
private |
Definition at line 24 of file class.ilForumNotification.php.
Referenced by checkForumsExistsInsert(), and getAdminForce().
|
private |
Definition at line 22 of file class.ilForumNotification.php.
Referenced by _clearForcedForumNotifications(), and getForumId().
|
staticprotected |
Definition at line 18 of file class.ilForumNotification.php.
|
private |
Definition at line 20 of file class.ilForumNotification.php.
Referenced by getNotificationId().
|
private |
Definition at line 27 of file class.ilForumNotification.php.
Referenced by __construct(), _clearForcedForumNotifications(), checkForumsExistsDelete(), checkForumsExistsInsert(), checkParentNodeTree(), getCachedNodeData(), and getForumRefId().
|
private |
Definition at line 23 of file class.ilForumNotification.php.
Referenced by getThreadId().
|
private |
Definition at line 21 of file class.ilForumNotification.php.
Referenced by checkForumsExistsDelete(), checkForumsExistsInsert(), and getUserId().
|
private |
Definition at line 25 of file class.ilForumNotification.php.
Referenced by checkForumsExistsInsert(), and getUserToggle().