ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
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 () | |
cloneFromSource (int $sourceRefId) | |
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 | |
$db | |
$user | |
Class ilForumNotification.
Definition at line 12 of file class.ilForumNotification.php.
ilForumNotification::__construct | ( | $ref_id | ) |
Constructor public.
Definition at line 32 of file class.ilForumNotification.php.
References $DIC, $ref_id, and user().
|
static |
|
static |
$a_ref_id |
Definition at line 304 of file class.ilForumNotification.php.
References $DIC, and ilObjectFactory\getInstanceByRefId().
Referenced by ilForumModeratorsGUI\addModerator(), and ilForumModeratorsGUI\detachModeratorRole().
|
static |
Definition at line 246 of file class.ilForumNotification.php.
References $data, $DIC, $ilUser, $ref_id, and $user_id.
Referenced by ilPDSelectedItemsBlockGUI\confirmedUnsubscribe().
|
static |
Definition at line 212 of file class.ilForumNotification.php.
References $admin_force, $data, $DIC, $ilUser, $ref_id, $user_id, $user_toggle, ilForumProperties\_isAdminForceNoti(), and ilForumProperties\_isUserToggleNoti().
Referenced by ilGroupRegistrationGUI\add(), ilCourseRegistrationGUI\add(), and ilObjCourse\register().
|
static |
$ref_id |
Definition at line 352 of file class.ilForumNotification.php.
References $DIC, $ref_id, $result, $tree, ilGroupParticipants\_getInstanceByObjId(), ilCourseParticipants\_getInstanceByObjId(), ilForum\_getModerators(), and ilObjectFactory\getInstanceByRefId().
ilForumNotification::cloneFromSource | ( | int | $sourceRefId | ) |
int | $sourceRefId |
Definition at line 498 of file class.ilForumNotification.php.
References $records, $row, insertAdminForce(), setAdminForce(), setUserId(), setUserIdNoti(), and setUserToggle().
ilForumNotification::deleteAdminForce | ( | ) |
Definition at line 165 of file class.ilForumNotification.php.
References getForumId(), and getUserId().
ilForumNotification::deleteNotificationAllUsers | ( | ) |
Definition at line 391 of file class.ilForumNotification.php.
References getForumId().
Referenced by ilForumSettingsGUI\updateNotificationSettings().
ilForumNotification::deleteUserToggle | ( | ) |
Definition at line 179 of file class.ilForumNotification.php.
References getForumId(), and getUserId().
ilForumNotification::existsNotification | ( | ) |
Definition at line 477 of file class.ilForumNotification.php.
References $res, $row, getAdminForce(), getForumId(), and getUserId().
ilForumNotification::getAdminForce | ( | ) |
Definition at line 83 of file class.ilForumNotification.php.
References $admin_force.
Referenced by existsNotification(), insertAdminForce(), and update().
|
static |
ilForumNotification::getForumId | ( | ) |
Definition at line 64 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 55 of file class.ilForumNotification.php.
References $user_id.
Referenced by deleteAdminForce(), deleteUserToggle(), existsNotification(), insertAdminForce(), isAdminForceNotification(), isUserToggleNotification(), update(), and updateUserToggle().
ilForumNotification::getUserIdNoti | ( | ) |
Definition at line 113 of file class.ilForumNotification.php.
ilForumNotification::getUserToggle | ( | ) |
Definition at line 93 of file class.ilForumNotification.php.
References $user_toggle.
Referenced by insertAdminForce(), update(), and updateUserToggle().
ilForumNotification::insertAdminForce | ( | ) |
Definition at line 152 of file class.ilForumNotification.php.
References getAdminForce(), getForumId(), getUserId(), getUserToggle(), and user().
Referenced by cloneFromSource().
ilForumNotification::isAdminForceNotification | ( | ) |
Definition at line 118 of file class.ilForumNotification.php.
References $res, $row, getForumId(), and getUserId().
ilForumNotification::isUserToggleNotification | ( | ) |
Definition at line 135 of file class.ilForumNotification.php.
References $res, $row, getForumId(), and getUserId().
Referenced by ilForumSettingsGUI\getUserNotificationTableData().
|
static |
$merge_source_thread_id | |
$merge_target_thread_id |
Definition at line 425 of file class.ilForumNotification.php.
References $DIC, $ilDB, $res, and $row.
Referenced by ilForum\mergeThreads().
ilForumNotification::read | ( | ) |
Definition at line 403 of file class.ilForumNotification.php.
References $query, $result, $row, and getForumId().
ilForumNotification::setAdminForce | ( | $a_admin_force | ) |
Definition at line 79 of file class.ilForumNotification.php.
Referenced by cloneFromSource(), and ilForumSettingsGUI\showMembers().
ilForumNotification::setForumId | ( | $a_forum_id | ) |
Definition at line 60 of file class.ilForumNotification.php.
ilForumNotification::setForumRefId | ( | $a_ref_id | ) |
Definition at line 98 of file class.ilForumNotification.php.
ilForumNotification::setNotificationId | ( | $a_notification_id | ) |
Definition at line 43 of file class.ilForumNotification.php.
ilForumNotification::setThreadId | ( | $a_thread_id | ) |
Definition at line 69 of file class.ilForumNotification.php.
ilForumNotification::setUserId | ( | $a_user_id | ) |
Definition at line 51 of file class.ilForumNotification.php.
Referenced by cloneFromSource(), ilForumSettingsGUI\disableAdminForceNoti(), ilForumSettingsGUI\disableHideUserToggleNoti(), ilForumSettingsGUI\enableAdminForceNoti(), ilForumSettingsGUI\enableHideUserToggleNoti(), and ilForumSettingsGUI\getUserNotificationTableData().
ilForumNotification::setUserIdNoti | ( | $a_user_id_noti | ) |
Definition at line 108 of file class.ilForumNotification.php.
Referenced by cloneFromSource().
ilForumNotification::setUserToggle | ( | $a_user_toggle | ) |
Definition at line 89 of file class.ilForumNotification.php.
Referenced by cloneFromSource().
ilForumNotification::update | ( | ) |
Definition at line 377 of file class.ilForumNotification.php.
References getAdminForce(), getForumId(), getUserId(), and getUserToggle().
ilForumNotification::updateUserToggle | ( | ) |
Definition at line 194 of file class.ilForumNotification.php.
References getForumId(), getUserId(), and getUserToggle().
|
private |
Definition at line 20 of file class.ilForumNotification.php.
Referenced by checkForumsExistsInsert(), and getAdminForce().
|
private |
Definition at line 24 of file class.ilForumNotification.php.
|
private |
Definition at line 18 of file class.ilForumNotification.php.
Referenced by _clearForcedForumNotifications(), and getForumId().
|
staticprotected |
Definition at line 14 of file class.ilForumNotification.php.
|
private |
Definition at line 16 of file class.ilForumNotification.php.
Referenced by getNotificationId().
|
private |
Definition at line 23 of file class.ilForumNotification.php.
Referenced by __construct(), _clearForcedForumNotifications(), checkForumsExistsDelete(), checkForumsExistsInsert(), checkParentNodeTree(), getCachedNodeData(), and getForumRefId().
|
private |
Definition at line 19 of file class.ilForumNotification.php.
Referenced by getThreadId().
|
private |
Definition at line 25 of file class.ilForumNotification.php.
|
private |
Definition at line 17 of file class.ilForumNotification.php.
Referenced by checkForumsExistsDelete(), checkForumsExistsInsert(), and getUserId().
|
private |
Definition at line 21 of file class.ilForumNotification.php.
Referenced by checkForumsExistsInsert(), and getUserToggle().