ILIAS
Release_4_1_x_branch Revision 61804
|
Class ilForumNotification. More...
Public Member Functions | |
ilForumNotification ($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 () |
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.
|
static |
Definition at line 287 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 345 of file class.ilForumNotification.php.
References $title, and ilObject\_lookupTitle().
Referenced by checkParentNodeTree().
|
static |
Definition at line 274 of file class.ilForumNotification.php.
References ilObjectFactory\getInstanceByRefId().
Referenced by _clearForcedForumNotifications().
|
static |
Definition at line 254 of file class.ilForumNotification.php.
References $data, $ref_id, $user_id, and ilForumNotification().
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, $ref_id, $user_id, $user_toggle, ilForumProperties\_isAdminForceNoti(), ilForumProperties\_isUserToggleNoti(), and ilForumNotification().
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 308 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 $ilDB, $res, getForumId(), and getUserId().
ilForumNotification::deleteNotificationAllUsers | ( | ) |
Definition at line 380 of file class.ilForumNotification.php.
References $ilDB, $res, and getForumId().
ilForumNotification::deleteUserToggle | ( | ) |
Definition at line 181 of file class.ilForumNotification.php.
References $ilDB, $res, getForumId(), and getUserId().
ilForumNotification::getAdminForce | ( | ) |
Definition at line 83 of file class.ilForumNotification.php.
References $admin_force.
Referenced by insertAdminForce(), and update().
ilForumNotification::getCrsGrpMemberToNotify | ( | ) |
ilForumNotification::getForumId | ( | ) |
Definition at line 64 of file class.ilForumNotification.php.
References $forum_id.
Referenced by deleteAdminForce(), deleteNotificationAllUsers(), deleteUserToggle(), 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(), 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::ilForumNotification | ( | $ref_id | ) |
Constructor public.
Definition at line 32 of file class.ilForumNotification.php.
Referenced by checkForumsExistsDelete(), and checkForumsExistsInsert().
ilForumNotification::insertAdminForce | ( | ) |
Definition at line 154 of file class.ilForumNotification.php.
References $ilDB, $res, getAdminForce(), getForumId(), getUserId(), and getUserToggle().
ilForumNotification::isAdminForceNotification | ( | ) |
Definition at line 118 of file class.ilForumNotification.php.
References $ilDB, $res, $row, getForumId(), and getUserId().
ilForumNotification::isUserToggleNotification | ( | ) |
Definition at line 135 of file class.ilForumNotification.php.
References $ilDB, $res, $row, getForumId(), and getUserId().
ilForumNotification::read | ( | ) |
Definition at line 392 of file class.ilForumNotification.php.
References $ilDB, $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\viewThreadObject().
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 366 of file class.ilForumNotification.php.
References $ilDB, $res, getAdminForce(), getForumId(), getUserId(), and getUserToggle().
ilForumNotification::updateUserToggle | ( | ) |
Definition at line 197 of file class.ilForumNotification.php.
References $ilDB, $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 _clearForcedForumNotifications(), checkForumsExistsDelete(), checkForumsExistsInsert(), checkParentNodeTree(), getForumRefId(), and ilForumNotification().
|
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().