ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Public Member Functions | |
__construct ($a_component_name, $a_ref_id) | |
Singleton Constructor. More... | |
getObjId () | |
get current obj_id More... | |
getType () | |
Get object type. More... | |
getNotificationRecipients () | |
Get admin, tutor which have notification enabled. More... | |
getCountMembers () | |
Get number of members (not participants) More... | |
getCountParticipants () | |
Get number of participants. More... | |
getParticipants () | |
Get all participants ids. More... | |
getMembers () | |
Get all members ids (admins and tutors are not members) Use get participants to fetch all. More... | |
getAdmins () | |
Get all admins ids. More... | |
getCountAdmins () | |
Get number of admins. More... | |
getTutors () | |
Get all tutors ids. More... | |
isAdmin ($a_usr_id) | |
is user admin More... | |
isTutor ($a_usr_id) | |
is user tutor More... | |
isMember ($a_usr_id) | |
is user member More... | |
isAssigned ($a_usr_id) | |
check if user is assigned More... | |
isLastAdmin ($a_usr_id) | |
Check if user is last admin. More... | |
getRoles () | |
Get course roles. More... | |
getAssignedRoles ($a_usr_id) | |
Get assigned roles. More... | |
updateRoleAssignments ($a_usr_id, $a_roles) | |
Update role assignments. More... | |
checkLastAdmin ($a_usr_ids) | |
Check if user for deletion are last admins. More... | |
isBlocked ($a_usr_id) | |
Check if user is blocked. More... | |
hasPassed ($a_usr_id) | |
Check if user has passed course. More... | |
delete ($a_usr_id) | |
Drop user from all roles. More... | |
updateBlocked ($a_usr_id, $a_blocked) | |
Update blocked status. More... | |
updateContact ($a_usr_id, $a_contact) | |
Update contact setting type $ilDB. More... | |
getContacts () | |
get user ids which are confirgured as contact More... | |
updateNotification ($a_usr_id, $a_notification) | |
Update notification status. More... | |
add ($a_usr_id, $a_role) | |
Add user to object. More... | |
deleteParticipants ($a_user_ids) | |
Delete users. More... | |
addDesktopItem ($a_usr_id) | |
Add desktop item. More... | |
dropDesktopItem ($a_usr_id) | |
Drop desktop item. More... | |
isNotificationEnabled ($a_usr_id) | |
check if notification is enabled More... | |
isContact ($a_usr_id) | |
Check if user is contact. More... | |
getAutoGeneratedRoleId ($a_role_type) | |
Get role id of auto generated role type. More... | |
isGroupingMember ($a_usr_id, $a_field='') | |
Check grouping membership. More... | |
getSubscribers () | |
get all subscribers More... | |
getCountSubscribers () | |
get number of subscribers More... | |
getSubscriberData ($a_usr_id) | |
get subscriber data More... | |
assignSubscribers ($a_usr_ids) | |
Assign subscribers. More... | |
assignSubscriber ($a_usr_id) | |
Assign subscriber. More... | |
autoFillSubscribers () | |
Assign subscriber. More... | |
addSubscriber ($a_usr_id) | |
Add subscriber. More... | |
updateSubscriptionTime ($a_usr_id, $a_subtime) | |
Update subscription time. More... | |
updateSubject ($a_usr_id, $a_subject) | |
update subject More... | |
deleteSubscriber ($a_usr_id) | |
Delete subsciber. More... | |
deleteSubscribers ($a_usr_ids) | |
Delete subscibers. More... | |
isSubscriber ($a_usr_id) | |
check if is subscriber More... | |
setRoleOrderPosition ($a_user_id) | |
Set role order position. More... | |
Static Public Member Functions | |
static | getInstance ($a_ref_id) |
Get instance by ref_id. More... | |
static | getInstanceByObjId ($a_obj_id) |
Get instance by obj type. More... | |
static | hasParticipantListAccess ($a_obj_id, $a_usr_id=null) |
Check if (current) user has access to the participant list. More... | |
static | _getMembershipByType ($a_usr_id, $a_type, $a_only_member_role=false) |
get membership by type Get course or group membership More... | |
static | _isParticipant ($a_ref_id, $a_usr_id) |
Static function to check if a user is a participant of the container object. More... | |
static | lookupNumberOfParticipants ($a_ref_id) |
Lookup the number of participants (crs admins, tutors, members, grp admins, members) More... | |
static | lookupNumberOfMembers ($a_ref_id) |
Lookup number of members ilRbacReview $rbacreview <type> $ilObjDataCache. More... | |
static | _isBlocked ($a_obj_id, $a_usr_id) |
Check if user is blocked. More... | |
static | _hasPassed ($a_obj_id, $a_usr_id) |
Check if user has passed course. More... | |
static | _deleteAllEntries ($a_obj_id) |
Delete all entries Normally called for course deletion. More... | |
static | _deleteUser ($a_usr_id) |
Delete user data. More... | |
static | getDefaultMemberRole ($a_ref_id) |
static | lookupSubscribers ($a_obj_id) |
static | _isSubscriber ($a_obj_id, $a_usr_id) |
check if user is subscriber More... | |
static | lookupSubscribersData ($a_obj_id) |
static | _getAllSupportContactsOfUser ($a_usr_id, $a_type) |
Get all support contacts for a user. More... | |
Protected Member Functions | |
getComponent () | |
Get component name Used for raising events. More... | |
readParticipants () | |
Read participants. More... | |
readParticipantsStatus () | |
Read status of participants (blocked, notification, passed) More... | |
readSubscribers () | |
read subscribers More... | |
readSubscriberData ($a_usr_id) | |
read subscribers More... | |
Protected Attributes | |
$component = '' | |
$obj_id = 0 | |
$type = '' | |
$ref_id = 0 | |
$roles = array() | |
$role_data = array() | |
$roles_sorted = [] | |
$role_assignments = [] | |
$participants = array() | |
$participants_status = array() | |
$members = array() | |
$tutors = array() | |
$admins = array() | |
$subscribers = array() | |
$ilDB | |
$lng | |
$logger = null | |
Definition at line 26 of file class.ilParticipants.php.
ilParticipants::__construct | ( | $a_component_name, | |
$a_ref_id | |||
) |
Singleton Constructor.
public
string | component definition e.g Modules/Course |
int | obj_id of container |
Definition at line 72 of file class.ilParticipants.php.
References $GLOBALS, ilObject\_lookupObjId(), ilObject\_lookupType(), readParticipants(), and readParticipantsStatus().
|
static |
Delete all entries Normally called for course deletion.
public
int | obj_id |
Definition at line 368 of file class.ilParticipants.php.
References $ilDB, $query, and $res.
Referenced by ilObjGroup\delete(), ilObjCourse\delete(), and ilSoapCourseAdministration\updateCourse().
|
static |
Delete user data.
public
int | user id |
Definition at line 395 of file class.ilParticipants.php.
References $ilDB, $query, $res, and ilWaitingList\_deleteUser().
Referenced by ilObjCourse\_deleteUser().
|
static |
Get all support contacts for a user.
int | $a_usr_id | usr_id |
string | $a_type | crs or grp |
Definition at line 1533 of file class.ilParticipants.php.
References $a_type, $ilDB, $query, $res, $row, and array.
Referenced by ilAwarenessUserProviderCourseContacts\getInitialUserSet().
|
static |
get membership by type Get course or group membership
public
int | $a_usr_id | usr_id |
string | array | $a_type | crs or grp | array of strings |
bool | $a_only_member_role |
Definition at line 207 of file class.ilParticipants.php.
References $a_type, $ilDB, $query, $res, $row, and array.
Referenced by ilNewsItem\_getNewsItemsOfUser(), ilMailSearchGroupsGUI\cancel(), ilMailSearchCoursesGUI\cancel(), ilPortfolioPageGUI\getCoursesOfUser(), ilAwarenessUserProviderMemberships\getInitialUserSet(), ilCourseVerificationTableGUI\getItems(), ilPDSelectedItemsBlockMembershipsProvider\getObjectsByMembership(), ilTestEvaluationData\getParticipants(), ilWorkspaceAccessHandler\getPossibleSharedTargets(), ilPortfolioAccessHandler\getPossibleSharedTargets(), ilWorkspaceShareTableGUI\initFilter(), ilCalendarCategories\readPDCalendars(), ilCalendarCategories\readReposCalendars(), ilWorkspaceAccessGUI\share(), and ilObjectCopyGUI\showSourceSelectionMembership().
|
static |
Check if user has passed course.
public
int | obj_id |
int | user id |
Definition at line 347 of file class.ilParticipants.php.
References $ilDB, $query, and $res.
Referenced by ilObjCourseAccess\checkCondition().
|
static |
Check if user is blocked.
public
int | course id |
int | usr_id |
Definition at line 326 of file class.ilParticipants.php.
References $ilDB, $query, and $res.
|
static |
Static function to check if a user is a participant of the container object.
public
int | ref_id |
int | user id |
Definition at line 257 of file class.ilParticipants.php.
Referenced by ilForumModeratorsGUI\detachModeratorRole(), ilObjCourseGUI\executeCommand(), ilMembershipGUI\filterUserIdsByRbacOrPositionOfCurrentUser(), ilAwarenessUserProviderMemberships\getInitialUserSet(), ilObjCourseGUI\getTabs(), ilNotification\hasNotification(), and ilObjCourseGUI\initHeaderAction().
|
static |
check if user is subscriber
public
Definition at line 1446 of file class.ilParticipants.php.
References $ilDB, $query, $res, $row, and ilDBConstants\FETCHMODE_OBJECT.
Referenced by ilObjCourseListGUI\getProperties(), and ilMembershipTest\testSubscription().
ilParticipants::add | ( | $a_usr_id, | |
$a_role | |||
) |
Add user to object.
public
int | user id |
int | role IL_CRS_ADMIN || IL_CRS_TUTOR || IL_CRS_MEMBER |
Definition at line 884 of file class.ilParticipants.php.
References $ilLog, array, deleteSubscriber(), ilWaitingList\deleteUserEntry(), getComponent(), IL_CRS_ADMIN, IL_CRS_MEMBER, IL_CRS_TUTOR, IL_GRP_ADMIN, IL_GRP_MEMBER, IL_SESS_MEMBER, and isAssigned().
Referenced by assignSubscriber().
ilParticipants::addDesktopItem | ( | $a_usr_id | ) |
Add desktop item.
public
int | usr_id |
Definition at line 962 of file class.ilParticipants.php.
References ilObjUser\_addDesktopItem(), and ilObjUser\_isDesktopItem().
Referenced by ilCourseParticipants\add(), and ilGroupParticipants\add().
ilParticipants::addSubscriber | ( | $a_usr_id | ) |
Add subscriber.
public
Definition at line 1324 of file class.ilParticipants.php.
References $ilDB, $query, $res, and time.
ilParticipants::assignSubscriber | ( | $a_usr_id | ) |
Assign subscriber.
public
Definition at line 1259 of file class.ilParticipants.php.
References $ilErr, add(), deleteSubscriber(), ilObjectFactory\getInstanceByObjId(), IL_CRS_MEMBER, IL_GRP_MEMBER, isAssigned(), and isSubscriber().
Referenced by assignSubscribers(), and autoFillSubscribers().
ilParticipants::assignSubscribers | ( | $a_usr_ids | ) |
Assign subscribers.
public
Definition at line 1241 of file class.ilParticipants.php.
References $id, and assignSubscriber().
ilParticipants::autoFillSubscribers | ( | ) |
Assign subscriber.
public
Definition at line 1301 of file class.ilParticipants.php.
References $counter, assignSubscriber(), and readSubscribers().
ilParticipants::checkLastAdmin | ( | $a_usr_ids | ) |
Check if user for deletion are last admins.
public
array | array of user ids for deletion |
Definition at line 683 of file class.ilParticipants.php.
References getAdmins().
ilParticipants::delete | ( | $a_usr_id | ) |
Drop user from all roles.
public
int | usr_id |
Definition at line 730 of file class.ilParticipants.php.
References $GLOBALS, $ilDB, $query, $res, array, dropDesktopItem(), getComponent(), readParticipants(), and readParticipantsStatus().
ilParticipants::deleteParticipants | ( | $a_user_ids | ) |
Delete users.
public
array | user ids |
Definition at line 947 of file class.ilParticipants.php.
ilParticipants::deleteSubscriber | ( | $a_usr_id | ) |
Delete subsciber.
public
Definition at line 1384 of file class.ilParticipants.php.
References $ilDB, $query, and $res.
Referenced by add(), assignSubscriber(), and readSubscribers().
ilParticipants::deleteSubscribers | ( | $a_usr_ids | ) |
ilParticipants::dropDesktopItem | ( | $a_usr_id | ) |
Drop desktop item.
public
int | usr_id |
Definition at line 977 of file class.ilParticipants.php.
References ilObjUser\_dropDesktopItem(), and ilObjUser\_isDesktopItem().
Referenced by delete().
ilParticipants::getAdmins | ( | ) |
Get all admins ids.
public
Definition at line 527 of file class.ilParticipants.php.
References array.
Referenced by checkLastAdmin(), getCountAdmins(), and isLastAdmin().
ilParticipants::getAssignedRoles | ( | $a_usr_id | ) |
Get assigned roles.
public
int | user_id |
Definition at line 634 of file class.ilParticipants.php.
References array.
ilParticipants::getAutoGeneratedRoleId | ( | $a_role_type | ) |
Get role id of auto generated role type.
type | $a_role_type |
Definition at line 1022 of file class.ilParticipants.php.
|
protected |
Get component name Used for raising events.
Definition at line 149 of file class.ilParticipants.php.
References $component.
Referenced by add(), and delete().
ilParticipants::getContacts | ( | ) |
get user ids which are confirgured as contact
Definition at line 822 of file class.ilParticipants.php.
References array.
ilParticipants::getCountAdmins | ( | ) |
Get number of admins.
Definition at line 536 of file class.ilParticipants.php.
References getAdmins().
ilParticipants::getCountMembers | ( | ) |
Get number of members (not participants)
public
Definition at line 480 of file class.ilParticipants.php.
ilParticipants::getCountParticipants | ( | ) |
ilParticipants::getCountSubscribers | ( | ) |
get number of subscribers
public
Definition at line 1219 of file class.ilParticipants.php.
References getSubscribers().
|
static |
Definition at line 409 of file class.ilParticipants.php.
References $ilCtrl, $obj_id, $roles, $title, $type, ilObject\_lookupObjId(), ilObject\_lookupTitle(), ilObject\_lookupType(), and array.
Referenced by ilStartUpGUI\_checkGoto(), ilCourseRegistrationGUI\add(), and ilRbacSystem\initMemberView().
|
static |
Get instance by ref_id.
int | $a_ref_id |
Definition at line 93 of file class.ilParticipants.php.
References $GLOBALS, $obj_id, $type, ilObject\_lookupObjId(), ilObject\_lookupType(), and ilSessionParticipants\getInstance().
Referenced by ilSessionParticipantsTableGUI\__construct(), ilSessionParticipantsTableGUI\collectParticipants(), ilMembershipGUI\filterUserIdsByRbacOrPositionOfCurrentUser(), ilSessionParticipantsTableGUI\getParentLocalRoles(), ilTrQuery\getParticipantsForObject(), ilMembershipGUI\jump2UsersGallery(), ilObjSessionGUI\registerObject(), ilObjSessionGUI\showJoinRequestButton(), and ilSessionMembershipGUI\updateMembers().
|
static |
Get instance by obj type.
int | $a_obj_id |
InvalidArgumentException |
Definition at line 122 of file class.ilParticipants.php.
References $GLOBALS, $type, ilSessionParticipants\_getInstanceByObjId(), ilGroupParticipants\_getInstanceByObjId(), ilCourseParticipants\_getInstanceByObjId(), and ilObject\_lookupType().
Referenced by ilCourseParticipantsTableGUI\__construct(), ilGroupParticipantsTableGUI\__construct(), ilGroupAddToGroupActionGUI\addUser(), ilAppointmentPresentationCourseGUI\collectPropertiesAndActions(), ilGroupAddToGroupActionGUI\confirmAddUser(), ilGroupAddToGroupActionGUI\createGroupAndAddUser(), ilMembershipGUI\filterUserIdsByRbacOrPositionOfCurrentUser(), ilWorkspaceAccessHandler\findSharedObjects(), ilPortfolioAccessHandler\findSharedObjects(), ilContSkillMemberTableGUI\getMembers(), ilLPStatusManualByTutor\getMembers(), ilLPStatusEvent\getMembers(), ilMembershipGUI\getMembersObject(), ilECSAppEventListener\handleMembership(), ilObjCourseGUI\infoScreen(), ilRepositorySearchGUI\listUsers(), ilMembershipGUI\membersMap(), and ilRepositoryObjectResultTableGUI\parseObjectIds().
ilParticipants::getMembers | ( | ) |
Get all members ids (admins and tutors are not members) Use get participants to fetch all.
public
Definition at line 517 of file class.ilParticipants.php.
References array.
Referenced by ilSessionParticipants\readParticipantsStatus().
ilParticipants::getNotificationRecipients | ( | ) |
Get admin, tutor which have notification enabled.
public
Definition at line 458 of file class.ilParticipants.php.
References $ilDB, $query, $res, $row, array, ilDBConstants\FETCHMODE_OBJECT, isAdmin(), and isTutor().
Referenced by ilGroupParticipants\sendNotification(), ilCourseParticipants\sendNotificationToAdmins(), ilCourseParticipants\sendSubscriptionRequestToAdmins(), and ilCourseParticipants\sendUnsubscribeNotificationToAdmins().
ilParticipants::getObjId | ( | ) |
get current obj_id
Definition at line 438 of file class.ilParticipants.php.
References $obj_id.
Referenced by ilGroupParticipants\addSubscriber(), ilCourseParticipants\addSubscriber(), and ilSessionParticipants\register().
ilParticipants::getParticipants | ( | ) |
Get all participants ids.
public
Definition at line 505 of file class.ilParticipants.php.
References array.
Referenced by isGroupingMember().
ilParticipants::getRoles | ( | ) |
Get course roles.
public
Definition at line 622 of file class.ilParticipants.php.
References array.
Referenced by updateRoleAssignments().
ilParticipants::getSubscriberData | ( | $a_usr_id | ) |
get subscriber data
public
Definition at line 1229 of file class.ilParticipants.php.
References readSubscriberData().
ilParticipants::getSubscribers | ( | ) |
get all subscribers
public
Definition at line 1206 of file class.ilParticipants.php.
References $subscribers, and readSubscribers().
Referenced by getCountSubscribers().
ilParticipants::getTutors | ( | ) |
Get all tutors ids.
public
Definition at line 548 of file class.ilParticipants.php.
References array.
ilParticipants::getType | ( | ) |
Get object type.
Definition at line 447 of file class.ilParticipants.php.
References $type.
|
static |
Check if (current) user has access to the participant list.
int | $a_obj | |
int | $a_usr_id |
Definition at line 161 of file class.ilParticipants.php.
References $DIC, $GLOBALS, $ref_id, ilObject\_getAllReferences(), ilObjCourse\lookupShowMembersEnabled(), and ilObjGroup\lookupShowMembersEnabled().
Referenced by ilRepositorySearchGUI\listUsers(), ilRepositoryObjectResultTableGUI\parseObjectIds(), and ilMailSearchGUI\showResults().
ilParticipants::hasPassed | ( | $a_usr_id | ) |
Check if user has passed course.
public
int | user_id |
Definition at line 715 of file class.ilParticipants.php.
Referenced by ilCourseParticipants\__buildStatusBody().
ilParticipants::isAdmin | ( | $a_usr_id | ) |
is user admin
public
int | usr_id |
Definition at line 560 of file class.ilParticipants.php.
Referenced by ilCourseParticipants\__buildStatusBody(), and getNotificationRecipients().
ilParticipants::isAssigned | ( | $a_usr_id | ) |
check if user is assigned
public
Definition at line 599 of file class.ilParticipants.php.
Referenced by add(), and assignSubscriber().
ilParticipants::isBlocked | ( | $a_usr_id | ) |
Check if user is blocked.
public
int | user_id |
Definition at line 700 of file class.ilParticipants.php.
Referenced by ilCourseParticipants\__buildStatusBody().
ilParticipants::isContact | ( | $a_usr_id | ) |
Check if user is contact.
int | usr_id |
Definition at line 1008 of file class.ilParticipants.php.
ilParticipants::isGroupingMember | ( | $a_usr_id, | |
$a_field = '' |
|||
) |
Check grouping membership.
public
Definition at line 1147 of file class.ilParticipants.php.
References $ilDB, $query, $res, ilObjectFactory\getInstanceByObjId(), and getParticipants().
ilParticipants::isLastAdmin | ( | $a_usr_id | ) |
Check if user is last admin.
int | $a_usr_id |
Definition at line 609 of file class.ilParticipants.php.
References getAdmins().
ilParticipants::isMember | ( | $a_usr_id | ) |
is user member
public
int | usr_id |
Definition at line 584 of file class.ilParticipants.php.
Referenced by ilCourseParticipants\__buildStatusBody().
ilParticipants::isNotificationEnabled | ( | $a_usr_id | ) |
check if notification is enabled
public
Definition at line 995 of file class.ilParticipants.php.
Referenced by ilCourseParticipants\__buildStatusBody().
ilParticipants::isSubscriber | ( | $a_usr_id | ) |
check if is subscriber
public
Definition at line 1425 of file class.ilParticipants.php.
References $ilDB, $query, $res, $row, and ilDBConstants\FETCHMODE_OBJECT.
Referenced by assignSubscriber().
ilParticipants::isTutor | ( | $a_usr_id | ) |
is user tutor
public
int | usr_id |
Definition at line 572 of file class.ilParticipants.php.
Referenced by ilCourseParticipants\__buildStatusBody(), and getNotificationRecipients().
|
static |
Lookup number of members ilRbacReview $rbacreview <type> $ilObjDataCache.
<type> | $a_ref_id |
Definition at line 288 of file class.ilParticipants.php.
Referenced by ilObjGroup\handleAutoFill(), and ilObjCourse\handleAutoFill().
|
static |
Lookup the number of participants (crs admins, tutors, members, grp admins, members)
ilRbacReview $rbacreview
int | $a_ref_id |
Definition at line 273 of file class.ilParticipants.php.
|
static |
Definition at line 1185 of file class.ilParticipants.php.
References $ilDB, $query, $res, $row, $subscribers, array, and ilDBConstants\FETCHMODE_OBJECT.
|
static |
Definition at line 1509 of file class.ilParticipants.php.
References $data, $ilDB, $query, $res, $row, array, and ilDBConstants\FETCHMODE_OBJECT.
Referenced by ilSubscriberTableGUI\readSubscriberData().
|
protected |
Read participants.
private
Definition at line 1039 of file class.ilParticipants.php.
References $GLOBALS, $ilLog, $participants, $title, $users, array, IL_CRS_ADMIN, IL_CRS_MEMBER, IL_CRS_TUTOR, IL_GRP_ADMIN, IL_GRP_MEMBER, IL_ROLE_POSITION_ADMIN, IL_ROLE_POSITION_MEMBER, IL_ROLE_POSITION_TUTOR, and IL_SESS_MEMBER.
Referenced by __construct(), delete(), and updateRoleAssignments().
|
protected |
Read status of participants (blocked, notification, passed)
private
Definition at line 1122 of file class.ilParticipants.php.
References $ilDB, $query, $res, $row, array, and ilDBConstants\FETCHMODE_OBJECT.
Referenced by __construct(), delete(), and updateRoleAssignments().
|
protected |
read subscribers
protected
Definition at line 1492 of file class.ilParticipants.php.
References $data, $ilDB, $query, $res, $row, array, ilDBConstants\FETCHMODE_OBJECT, and ilDB\query().
Referenced by getSubscriberData().
|
protected |
read subscribers
protected
Definition at line 1466 of file class.ilParticipants.php.
References $ilDB, $query, $res, $row, array, deleteSubscriber(), ilDBConstants\FETCHMODE_OBJECT, ilObjectFactory\getInstanceByObjId(), and ilDB\query().
Referenced by autoFillSubscribers(), and getSubscribers().
ilParticipants::setRoleOrderPosition | ( | $a_user_id | ) |
Set role order position.
int | $a_user_id |
Definition at line 1577 of file class.ilParticipants.php.
References $counter, and array.
ilParticipants::updateBlocked | ( | $a_usr_id, | |
$a_blocked | |||
) |
Update blocked status.
public
int | usr_id |
bool | blocked |
Definition at line 766 of file class.ilParticipants.php.
References $ilDB, $query, and $res.
ilParticipants::updateContact | ( | $a_usr_id, | |
$a_contact | |||
) |
Update contact setting type $ilDB.
type | $a_usr_id | |
type | $a_contact |
Definition at line 803 of file class.ilParticipants.php.
References $ilDB.
ilParticipants::updateNotification | ( | $a_usr_id, | |
$a_notification | |||
) |
Update notification status.
public
int | usr_id |
bool | passed |
Definition at line 844 of file class.ilParticipants.php.
References $ilDB, $query, and $res.
ilParticipants::updateRoleAssignments | ( | $a_usr_id, | |
$a_roles | |||
) |
Update role assignments.
public
int | usr_id |
array | array of new roles |
Definition at line 654 of file class.ilParticipants.php.
References $roles, array, getRoles(), readParticipants(), and readParticipantsStatus().
ilParticipants::updateSubject | ( | $a_usr_id, | |
$a_subject | |||
) |
update subject
public
Definition at line 1366 of file class.ilParticipants.php.
References $ilDB, $query, and $res.
ilParticipants::updateSubscriptionTime | ( | $a_usr_id, | |
$a_subtime | |||
) |
Update subscription time.
public
Definition at line 1346 of file class.ilParticipants.php.
References $ilDB, $query, and $res.
|
protected |
Definition at line 43 of file class.ilParticipants.php.
|
protected |
Definition at line 28 of file class.ilParticipants.php.
Referenced by getComponent().
|
protected |
Definition at line 50 of file class.ilParticipants.php.
Referenced by ilCourseParticipants\__buildStatusBody(), _deleteAllEntries(), _deleteUser(), _getAllSupportContactsOfUser(), _getMembershipByType(), _hasPassed(), _isBlocked(), ilGroupParticipants\_isParticipant(), _isSubscriber(), addSubscriber(), delete(), deleteSubscriber(), deleteSubscribers(), ilCourseParticipants\getDateTimeOfPassed(), getNotificationRecipients(), ilCourseParticipants\getPassedInfo(), ilCourseParticipants\getPassedUsersForObjects(), isGroupingMember(), isSubscriber(), lookupSubscribers(), lookupSubscribersData(), readParticipantsStatus(), readSubscriberData(), readSubscribers(), ilCourseParticipants\sendNotificationToAdmins(), ilCourseParticipants\sendSubscriptionRequestToAdmins(), ilCourseParticipants\sendUnsubscribeNotificationToAdmins(), updateBlocked(), updateContact(), updateNotification(), ilCourseParticipants\updatePassed(), updateSubject(), and updateSubscriptionTime().
|
protected |
Definition at line 55 of file class.ilParticipants.php.
|
protected |
Definition at line 61 of file class.ilParticipants.php.
|
protected |
Definition at line 41 of file class.ilParticipants.php.
|
protected |
Definition at line 30 of file class.ilParticipants.php.
Referenced by ilSessionParticipants\_isParticipant(), getDefaultMemberRole(), getInstance(), and getObjId().
|
protected |
Definition at line 39 of file class.ilParticipants.php.
Referenced by readParticipants().
|
protected |
Definition at line 40 of file class.ilParticipants.php.
|
protected |
Definition at line 32 of file class.ilParticipants.php.
Referenced by hasParticipantListAccess().
|
protected |
Definition at line 37 of file class.ilParticipants.php.
|
protected |
Definition at line 35 of file class.ilParticipants.php.
|
protected |
Definition at line 34 of file class.ilParticipants.php.
Referenced by getDefaultMemberRole(), ilGroupParticipants\getMemberRoles(), ilCourseParticipants\getMemberRoles(), and updateRoleAssignments().
|
protected |
Definition at line 36 of file class.ilParticipants.php.
|
protected |
Definition at line 45 of file class.ilParticipants.php.
Referenced by getSubscribers(), and lookupSubscribers().
|
protected |
Definition at line 42 of file class.ilParticipants.php.
|
protected |
Definition at line 31 of file class.ilParticipants.php.
Referenced by getDefaultMemberRole(), getInstance(), getInstanceByObjId(), and getType().