ILIAS
release_4-3 Revision
|
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 () | |
getCrsGrpMemberToNotify () | |
_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 | _isParentNodeGrpCrs ($a_ref_id) |
static | _clearForcedForumNotifications ($a_parameter) |
static | checkParentNodeTree ($ref_id) |
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 299 of file class.ilForumNotification.php.
References $forum_id, $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 361 of file class.ilForumNotification.php.
References $title, and ilObject\_lookupTitle().
Referenced by checkParentNodeTree(), and ilObjForumGUI\updateUserNotifications().
|
static |
Definition at line 286 of file class.ilForumNotification.php.
References ilObjectFactory\getInstanceByRefId().
Referenced by _clearForcedForumNotifications(), ilForumModeratorsGUI\addModerator(), and ilForumModeratorsGUI\detachModeratorRole().
|
static |
Definition at line 257 of file class.ilForumNotification.php.
References $data, $ilUser, $ref_id, and $user_id.
Referenced by ilObjGroupGUI\deleteMembersObject(), ilObjCourseGUI\performUnsubscribeObject(), ilCourseParticipantsGroupsGUI\remove(), ilObjCourseGUI\removeMembersObject(), and ilObjGroupGUI\unsubscribeObject().
|
static |
Definition at line 222 of file class.ilForumNotification.php.
References $admin_force, $data, $ilUser, $ref_id, $user_id, $user_toggle, ilForumProperties\_isAdminForceNoti(), and ilForumProperties\_isUserToggleNoti().
Referenced by ilCourseParticipantsGroupsGUI\add(), ilGroupRegistrationGUI\add(), ilCourseRegistrationGUI\add(), ilObjGroupGUI\addUserObject(), ilObjGroupGUI\assignFromWaitingListObject(), ilObjCourseGUI\assignFromWaitingListObject(), ilObjCourseGUI\assignMembersObject(), ilObjGroupGUI\assignSubscribersObject(), ilObjCourseGUI\assignSubscribersObject(), and ilObjCourse\register().
|
static |
Definition at line 324 of file class.ilForumNotification.php.
References $ref_id, $result, ilGroupParticipants\_getInstanceByObjId(), ilCourseParticipants\_getInstanceByObjId(), _getModerators(), and ilObjectFactory\getInstanceByRefId().
ilForumNotification::deleteAdminForce | ( | ) |
Definition at line 167 of file class.ilForumNotification.php.
References $res, getForumId(), and getUserId().
ilForumNotification::deleteNotificationAllUsers | ( | ) |
Definition at line 396 of file class.ilForumNotification.php.
References $res, and getForumId().
ilForumNotification::deleteUserToggle | ( | ) |
Definition at line 181 of file class.ilForumNotification.php.
References $ilUser, $res, getForumId(), and getUserId().
ilForumNotification::existsNotification | ( | ) |
Definition at line 430 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().
ilForumNotification::getCrsGrpMemberToNotify | ( | ) |
Definition at line 211 of file class.ilForumNotification.php.
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 | ( | ) |
Definition at line 102 of file class.ilForumNotification.php.
References $ref_id.
ilForumNotification::getNotificationId | ( | ) |
Definition at line 47 of file class.ilForumNotification.php.
References $notification_id.
ilForumNotification::getThreadId | ( | ) |
Definition at line 73 of file class.ilForumNotification.php.
References $thread_id.
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 154 of file class.ilForumNotification.php.
References $ilUser, $res, getAdminForce(), getForumId(), getUserId(), and getUserToggle().
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 ilObjForumGUI\getUserNotificationTableData().
ilForumNotification::read | ( | ) |
Definition at line 408 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.
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 ilObjForumGUI\getUserNotificationTableData().
ilForumNotification::setUserIdNoti | ( | $a_user_id_noti | ) |
Definition at line 108 of file class.ilForumNotification.php.
ilForumNotification::setUserToggle | ( | $a_user_toggle | ) |
Definition at line 89 of file class.ilForumNotification.php.
ilForumNotification::update | ( | ) |
Definition at line 382 of file class.ilForumNotification.php.
References $res, getAdminForce(), getForumId(), getUserId(), and getUserToggle().
ilForumNotification::updateUserToggle | ( | ) |
Definition at line 197 of file class.ilForumNotification.php.
References $res, getForumId(), getUserId(), and getUserToggle().
|
private |
Definition at line 21 of file class.ilForumNotification.php.
Referenced by checkForumsExistsInsert(), and getAdminForce().
|
private |
Definition at line 19 of file class.ilForumNotification.php.
Referenced by _clearForcedForumNotifications(), and getForumId().
|
private |
Definition at line 17 of file class.ilForumNotification.php.
Referenced by getNotificationId().
|
private |
Definition at line 24 of file class.ilForumNotification.php.
Referenced by __construct(), _clearForcedForumNotifications(), checkForumsExistsDelete(), checkForumsExistsInsert(), checkParentNodeTree(), and getForumRefId().
|
private |
Definition at line 20 of file class.ilForumNotification.php.
Referenced by getThreadId().
|
private |
Definition at line 18 of file class.ilForumNotification.php.
Referenced by checkForumsExistsDelete(), checkForumsExistsInsert(), and getUserId().
|
private |
Definition at line 22 of file class.ilForumNotification.php.
Referenced by checkForumsExistsInsert(), and getUserToggle().