ILIAS
Release_5_0_x_branch Revision 61816
|
Class ilForumNotification. More...
Public Member Functions | |
__construct ($ref_id) | |
Constructor public. | |
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 () | |
_getModerators ($a_ref_id) | |
get all users assigned to local role il_frm_moderator_<frm_ref_id> (static) | |
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 15 of file class.ilForumNotification.php.
ilForumNotification::__construct | ( | $ref_id | ) |
|
static |
Definition at line 309 of file class.ilForumNotification.php.
References $forum_id, $ilDB, $ref_id, and _isParentNodeGrpCrs().
Referenced by ilForumAppEventListener\handleEvent().
ilForumNotification::_getModerators | ( | $a_ref_id | ) |
get all users assigned to local role il_frm_moderator_<frm_ref_id> (static)
int | $a_ref_id | reference id |
Definition at line 371 of file class.ilForumNotification.php.
References ilObject\_lookupTitle().
Referenced by checkParentNodeTree(), and ilObjForumGUI\updateUserNotifications().
|
static |
Definition at line 296 of file class.ilForumNotification.php.
References ilObjectFactory\getInstanceByRefId().
Referenced by _clearForcedForumNotifications(), ilForumModeratorsGUI\addModerator(), and ilForumModeratorsGUI\detachModeratorRole().
|
static |
Definition at line 253 of file class.ilForumNotification.php.
References $ilUser, $ref_id, $user_id, and getCachedNodeData().
Referenced by ilPDSelectedItemsBlockGUI\confirmedUnsubscribe(), and ilForumAppEventListener\handleEvent().
|
static |
Definition at line 217 of file class.ilForumNotification.php.
References $admin_force, $ilUser, $ref_id, $user_id, $user_toggle, ilForumProperties\_isAdminForceNoti(), ilForumProperties\_isUserToggleNoti(), and getCachedNodeData().
Referenced by ilGroupRegistrationGUI\add(), ilCourseRegistrationGUI\add(), ilForumAppEventListener\handleEvent(), and ilObjCourse\register().
|
static |
Definition at line 334 of file class.ilForumNotification.php.
References $ref_id, $result, ilGroupParticipants\_getInstanceByObjId(), ilCourseParticipants\_getInstanceByObjId(), _getModerators(), and ilObjectFactory\getInstanceByRefId().
ilForumNotification::deleteAdminForce | ( | ) |
Definition at line 169 of file class.ilForumNotification.php.
References $ilDB, $res, getForumId(), and getUserId().
ilForumNotification::deleteNotificationAllUsers | ( | ) |
Definition at line 405 of file class.ilForumNotification.php.
References $ilDB, $res, and getForumId().
ilForumNotification::deleteUserToggle | ( | ) |
Definition at line 183 of file class.ilForumNotification.php.
References $ilDB, $ilUser, $res, getForumId(), and getUserId().
ilForumNotification::existsNotification | ( | ) |
Definition at line 475 of file class.ilForumNotification.php.
References $ilDB, $res, $row, getAdminForce(), getForumId(), and getUserId().
ilForumNotification::getAdminForce | ( | ) |
Definition at line 85 of file class.ilForumNotification.php.
References $admin_force.
Referenced by existsNotification(), insertAdminForce(), and update().
|
static |
$ref_id |
Definition at line 285 of file class.ilForumNotification.php.
References $ref_id.
Referenced by checkForumsExistsDelete(), and checkForumsExistsInsert().
ilForumNotification::getForumId | ( | ) |
Definition at line 66 of file class.ilForumNotification.php.
References $forum_id.
Referenced by deleteAdminForce(), deleteNotificationAllUsers(), deleteUserToggle(), existsNotification(), insertAdminForce(), isAdminForceNotification(), isUserToggleNotification(), read(), update(), and updateUserToggle().
ilForumNotification::getForumRefId | ( | ) |
Definition at line 104 of file class.ilForumNotification.php.
References $ref_id.
ilForumNotification::getNotificationId | ( | ) |
Definition at line 49 of file class.ilForumNotification.php.
References $notification_id.
ilForumNotification::getThreadId | ( | ) |
Definition at line 75 of file class.ilForumNotification.php.
References $thread_id.
ilForumNotification::getUserId | ( | ) |
Definition at line 57 of file class.ilForumNotification.php.
References $user_id.
Referenced by deleteAdminForce(), deleteUserToggle(), existsNotification(), insertAdminForce(), isAdminForceNotification(), isUserToggleNotification(), update(), and updateUserToggle().
ilForumNotification::getUserIdNoti | ( | ) |
Definition at line 115 of file class.ilForumNotification.php.
ilForumNotification::getUserToggle | ( | ) |
Definition at line 95 of file class.ilForumNotification.php.
References $user_toggle.
Referenced by insertAdminForce(), update(), and updateUserToggle().
ilForumNotification::insertAdminForce | ( | ) |
Definition at line 156 of file class.ilForumNotification.php.
References $ilDB, $ilUser, $res, getAdminForce(), getForumId(), getUserId(), and getUserToggle().
ilForumNotification::isAdminForceNotification | ( | ) |
Definition at line 120 of file class.ilForumNotification.php.
References $ilDB, $res, $row, getForumId(), and getUserId().
ilForumNotification::isUserToggleNotification | ( | ) |
Definition at line 137 of file class.ilForumNotification.php.
References $ilDB, $res, $row, getForumId(), and getUserId().
Referenced by ilObjForumGUI\getUserNotificationTableData().
|
static |
Definition at line 435 of file class.ilForumNotification.php.
References $ilDB, $res, and $row.
Referenced by ilForum\mergeThreads().
ilForumNotification::read | ( | ) |
Definition at line 417 of file class.ilForumNotification.php.
References $ilDB, $query, $result, $row, and getForumId().
ilForumNotification::setAdminForce | ( | $a_admin_force | ) |
Definition at line 81 of file class.ilForumNotification.php.
ilForumNotification::setForumId | ( | $a_forum_id | ) |
Definition at line 62 of file class.ilForumNotification.php.
ilForumNotification::setForumRefId | ( | $a_ref_id | ) |
Definition at line 100 of file class.ilForumNotification.php.
ilForumNotification::setNotificationId | ( | $a_notification_id | ) |
Definition at line 45 of file class.ilForumNotification.php.
ilForumNotification::setThreadId | ( | $a_thread_id | ) |
Definition at line 71 of file class.ilForumNotification.php.
ilForumNotification::setUserId | ( | $a_user_id | ) |
Definition at line 53 of file class.ilForumNotification.php.
Referenced by ilObjForumGUI\getUserNotificationTableData().
ilForumNotification::setUserIdNoti | ( | $a_user_id_noti | ) |
Definition at line 110 of file class.ilForumNotification.php.
ilForumNotification::setUserToggle | ( | $a_user_toggle | ) |
Definition at line 91 of file class.ilForumNotification.php.
ilForumNotification::update | ( | ) |
Definition at line 391 of file class.ilForumNotification.php.
References $ilDB, $res, getAdminForce(), getForumId(), getUserId(), and getUserToggle().
ilForumNotification::updateUserToggle | ( | ) |
Definition at line 199 of file class.ilForumNotification.php.
References $ilDB, $res, getForumId(), getUserId(), and getUserToggle().
|
private |
Definition at line 23 of file class.ilForumNotification.php.
Referenced by checkForumsExistsInsert(), and getAdminForce().
|
private |
Definition at line 21 of file class.ilForumNotification.php.
Referenced by _clearForcedForumNotifications(), and getForumId().
|
staticprotected |
Definition at line 17 of file class.ilForumNotification.php.
|
private |
Definition at line 19 of file class.ilForumNotification.php.
Referenced by getNotificationId().
|
private |
Definition at line 26 of file class.ilForumNotification.php.
Referenced by __construct(), _clearForcedForumNotifications(), checkForumsExistsDelete(), checkForumsExistsInsert(), checkParentNodeTree(), getCachedNodeData(), and getForumRefId().
|
private |
Definition at line 22 of file class.ilForumNotification.php.
Referenced by getThreadId().
|
private |
Definition at line 20 of file class.ilForumNotification.php.
Referenced by checkForumsExistsDelete(), checkForumsExistsInsert(), and getUserId().
|
private |
Definition at line 24 of file class.ilForumNotification.php.
Referenced by checkForumsExistsInsert(), and getUserToggle().