ILIAS
release_7 Revision v7.30-3-g800a261c036
|
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 @global 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... | |
addRecommendation ($a_usr_id) | |
Add 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 | canSendMailToMembers ( $ref_id_or_instance, ?int $usr_id=null, ?int $mail_obj_ref_id=null) |
This method was introduced as a band-aid fix for #22764. More... | |
static | getUserMembershipAssignmentsByType ($a_user_ids, $a_type, $a_only_member_roles) |
Get user membership assignments by type. 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 @global ilRbacReview $rbacreview @global <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 | |
$recommended_content_manager | |
Definition at line 29 of file class.ilParticipants.php.
ilParticipants::__construct | ( | $a_component_name, | |
$a_ref_id | |||
) |
Singleton Constructor.
@access public
string | component definition e.g Modules/Course |
int | obj_id of container |
Definition at line 79 of file class.ilParticipants.php.
References $GLOBALS, ilObject\_lookupObjId(), ilObject\_lookupType(), readParticipants(), and readParticipantsStatus().
|
static |
Delete all entries Normally called for course deletion.
@access public
int | obj_id |
Definition at line 499 of file class.ilParticipants.php.
References $DIC, $ilDB, $query, and $res.
Referenced by ilObjCourse\delete(), ilObjGroup\delete(), ilObjLearningSequence\delete(), and ilSoapCourseAdministration\updateCourse().
|
static |
Delete user data.
@access public
int | user id |
Definition at line 528 of file class.ilParticipants.php.
References $DIC, $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 1737 of file class.ilParticipants.php.
References $DIC, $ilDB, $query, and $res.
Referenced by ilAwarenessUserProviderCourseContacts\getInitialUserSet().
|
static |
get membership by type Get course or group membership
@access 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 324 of file class.ilParticipants.php.
References $DIC, $ilDB, $query, and $res.
Referenced by ilNewsItem\_getNewsItemsOfUser(), ilDashboardLearningSequenceGUI\getAssignments(), ilPortfolioPageGUI\getCoursesOfUser(), ilAwarenessUserProviderMemberships\getInitialUserSet(), ilTestEvaluationData\getParticipants(), ilPortfolioAccessHandler\getPossibleSharedTargets(), ilWorkspaceAccessHandler\getPossibleSharedTargets(), ilWorkspaceShareTableGUI\initFilter(), ilCalendarCategories\readPDCalendars(), ilCalendarCategories\readReposCalendars(), ilWorkspaceAccessGUI\share(), and ilObjectCopyGUI\showSourceSelectionMembership().
|
static |
Check if user has passed course.
@access public
int | obj_id |
int | user id |
Definition at line 476 of file class.ilParticipants.php.
References $DIC, $ilDB, $query, $res, and true.
Referenced by ilObjCourseAccess\checkCondition().
|
static |
Check if user is blocked.
@access public
int | course id |
int | usr_id |
Definition at line 453 of file class.ilParticipants.php.
|
static |
Static function to check if a user is a participant of the container object.
@access public
int | ref_id |
int | user id |
Reimplemented in ilGroupParticipants, ilSessionParticipants, and ilLearningSequenceParticipants.
Definition at line 377 of file class.ilParticipants.php.
References $DIC.
Referenced by ilForumModeratorsGUI\detachModeratorRole(), ilObjCourseGUI\executeCommand(), ilObjCourseGUI\getTabs(), ilNotification\hasNotification(), and ilObjCourseGUI\initHeaderAction().
|
static |
check if user is subscriber
@access public
Definition at line 1642 of file class.ilParticipants.php.
References $DIC, $ilDB, $query, $res, and ilDBConstants\FETCHMODE_OBJECT.
Referenced by ilObjSessionAccess\_checkAccess(), ilObjCourseListGUI\getProperties(), and ilMembershipTest\testSubscription().
ilParticipants::add | ( | $a_usr_id, | |
$a_role | |||
) |
Add user to object.
@access public
int | user id |
int | role IL_CRS_ADMIN || IL_CRS_TUTOR || IL_CRS_MEMBER |
Reimplemented in ilCourseParticipants, ilGroupParticipants, ilSessionParticipants, and ilLearningSequenceParticipants.
Definition at line 1041 of file class.ilParticipants.php.
References $DIC, ilWaitingList\deleteUserEntry(), IL_CRS_ADMIN, IL_CRS_MEMBER, IL_CRS_TUTOR, IL_GRP_ADMIN, IL_GRP_MEMBER, IL_LSO_ADMIN, IL_LSO_MEMBER, and IL_SESS_MEMBER.
ilParticipants::addRecommendation | ( | $a_usr_id | ) |
Add desktop item.
@access public
int | usr_id |
Definition at line 1129 of file class.ilParticipants.php.
Referenced by ilCourseParticipants\add(), and ilGroupParticipants\add().
ilParticipants::addSubscriber | ( | $a_usr_id | ) |
Add subscriber.
@access public
Reimplemented in ilCourseParticipants, ilGroupParticipants, and ilLearningSequenceParticipants.
Definition at line 1507 of file class.ilParticipants.php.
ilParticipants::assignSubscriber | ( | $a_usr_id | ) |
Assign subscriber.
@access public
Definition at line 1437 of file class.ilParticipants.php.
References $DIC, $ilErr, add(), ilObjectFactory\getInstanceByObjId(), IL_CRS_MEMBER, IL_GRP_MEMBER, and IL_LSO_MEMBER.
ilParticipants::assignSubscribers | ( | $a_usr_ids | ) |
Assign subscribers.
@access public
Definition at line 1419 of file class.ilParticipants.php.
ilParticipants::autoFillSubscribers | ( | ) |
Assign subscriber.
@access public
Definition at line 1484 of file class.ilParticipants.php.
|
static |
This method was introduced as a band-aid fix for #22764.
Please do not use this anywhere else.
int | ilObject | $ref_id_or_instance |
Definition at line 209 of file class.ilParticipants.php.
References $DIC.
Referenced by ilMailSearchCoursesGUI\mailCourses(), and ilMailSearchGroupsGUI\mailGroups().
ilParticipants::checkLastAdmin | ( | $a_usr_ids | ) |
Check if user for deletion are last admins.
@access public
array | array of user ids for deletion |
Reimplemented in ilSessionParticipants.
Definition at line 830 of file class.ilParticipants.php.
ilParticipants::delete | ( | $a_usr_id | ) |
Drop user from all roles.
@access public
int | usr_id |
Definition at line 877 of file class.ilParticipants.php.
ilParticipants::deleteParticipants | ( | $a_user_ids | ) |
Delete users.
@access public
array | user ids |
Definition at line 1114 of file class.ilParticipants.php.
ilParticipants::deleteSubscriber | ( | $a_usr_id | ) |
Delete subsciber.
@access public
Definition at line 1573 of file class.ilParticipants.php.
ilParticipants::deleteSubscribers | ( | $a_usr_ids | ) |
Delete subscibers.
@access public
Definition at line 1593 of file class.ilParticipants.php.
ilParticipants::getAdmins | ( | ) |
Get all admins ids.
@access public
Definition at line 669 of file class.ilParticipants.php.
ilParticipants::getAssignedRoles | ( | $a_usr_id | ) |
Get assigned roles.
@access public
int | user_id |
Definition at line 776 of file class.ilParticipants.php.
References $DIC.
ilParticipants::getAutoGeneratedRoleId | ( | $a_role_type | ) |
Get role id of auto generated role type.
type | $a_role_type |
Definition at line 1173 of file class.ilParticipants.php.
|
protected |
Get component name Used for raising events.
Definition at line 157 of file class.ilParticipants.php.
References $component.
ilParticipants::getContacts | ( | ) |
get user ids which are confirgured as contact
Definition at line 977 of file class.ilParticipants.php.
ilParticipants::getCountAdmins | ( | ) |
ilParticipants::getCountMembers | ( | ) |
Get number of members (not participants)
@access public
Definition at line 622 of file class.ilParticipants.php.
ilParticipants::getCountParticipants | ( | ) |
Get number of participants.
@access public
Definition at line 633 of file class.ilParticipants.php.
ilParticipants::getCountSubscribers | ( | ) |
get number of subscribers
@access public
Definition at line 1397 of file class.ilParticipants.php.
|
static |
Definition at line 544 of file class.ilParticipants.php.
References $DIC, $type, ilObject\_lookupObjId(), ilObject\_lookupTitle(), and ilObject\_lookupType().
Referenced by ilStartUpGUI\_checkGoto(), ilCourseRegistrationGUI\add(), ilRepositorySearchGUI\addRole(), ilContainerImporter\finalProcessing(), ilRbacSystem\initMemberView(), ilSkillProfileGUI\saveLocal(), ilContainerGlobalProfiles\setMemberRoleId(), and ilContainerLocalProfiles\setMemberRoleId().
|
static |
Get instance by ref_id.
int | $a_ref_id |
Reimplemented in ilSessionParticipants.
Definition at line 101 of file class.ilParticipants.php.
References $GLOBALS, $obj_id, $type, ilObject\_lookupObjId(), ilObject\_lookupType(), ilSessionParticipants\getInstance(), and getInstanceByObjId().
Referenced by ilSessionParticipantsTableGUI\__construct(), ilEventParticipants\__read(), ilSessionParticipantsTableGUI\collectParticipants(), ilCourseMembershipGUI\deleteParticipantsWithLinkedCourses(), ilConsultationHourUtils\getConsultationHourLinksForRepositoryObject(), ilCourseReferenceLP\getMembers(), ilLearningSequenceMembershipGUI\getMembersObject(), ilMembershipGUI\getMembersObject(), ilSessionParticipantsTableGUI\getParentLocalRoles(), ilTrQuery\getParticipantsForObject(), ilStudyProgrammeMembershipSourceReaderFactory\getReaderFor(), ilECSAppEventListener\handleMembership(), ilCourseReferenceAppEventListener\handleReferences(), hasParticipantListAccess(), ilObjGroupGUI\infoScreen(), ilObjSessionGUI\infoScreen(), ilCourseReferencePathInfo\isReferenceMemberUpdateConfirmationRequired(), ilPDSelectedItemsBlockGUI\manageObject(), ilCourseReferenceDeleteConfirmationTableGUI\readLinkedCourseAssignments(), ilObjSessionGUI\registerObject(), ilObjSessionGUI\showJoinRequestButton(), and ilSessionMembershipGUI\updateMembers().
|
static |
Get instance by obj type.
int | $a_obj_id |
InvalidArgumentException |
Definition at line 129 of file class.ilParticipants.php.
References $GLOBALS, $type, ilCourseParticipants\_getInstanceByObjId(), ilGroupParticipants\_getInstanceByObjId(), ilSessionParticipants\_getInstanceByObjId(), ilLearningSequenceParticipants\_getInstanceByObjId(), ilObject\_lookupType(), and ilLogLevel\WARNING.
Referenced by ilCourseParticipantsTableGUI\__construct(), ilGroupParticipantsTableGUI\__construct(), ilGroupAddToGroupActionGUI\addUser(), ilAppointmentPresentationCourseGUI\collectPropertiesAndActions(), ilGroupAddToGroupActionGUI\confirmAddUser(), ilGroupAddToGroupActionGUI\createGroupAndAddUser(), ilPortfolioAccessHandler\findSharedObjects(), ilWorkspaceAccessHandler\findSharedObjects(), getInstance(), ilLPStatusManualByTutor\getMembers(), ilLPStatusEvent\getMembers(), ilContSkillMemberTableGUI\getMembers(), 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.
@access public
Definition at line 659 of file class.ilParticipants.php.
Referenced by ilSessionParticipants\readParticipantsStatus().
ilParticipants::getNotificationRecipients | ( | ) |
Get admin, tutor which have notification enabled.
@access public
Definition at line 597 of file class.ilParticipants.php.
References $DIC, $ilDB, $query, $res, and ilDBConstants\FETCHMODE_OBJECT.
Referenced by ilGroupParticipants\sendNotification(), ilLearningSequenceParticipants\sendNotification(), ilCourseParticipants\sendNotificationToAdmins(), ilCourseParticipants\sendSubscriptionRequestToAdmins(), and ilCourseParticipants\sendUnsubscribeNotificationToAdmins().
ilParticipants::getObjId | ( | ) |
get current obj_id
Definition at line 577 of file class.ilParticipants.php.
Referenced by ilCourseParticipants\addSubscriber(), ilGroupParticipants\addSubscriber(), ilLearningSequenceParticipants\addSubscriber(), and ilSessionParticipants\register().
ilParticipants::getParticipants | ( | ) |
Get all participants ids.
@access public
Definition at line 647 of file class.ilParticipants.php.
ilParticipants::getRoles | ( | ) |
Get course roles.
@access public
Definition at line 764 of file class.ilParticipants.php.
ilParticipants::getSubscriberData | ( | $a_usr_id | ) |
get subscriber data
@access public
Definition at line 1407 of file class.ilParticipants.php.
ilParticipants::getSubscribers | ( | ) |
get all subscribers
@access public
Definition at line 1384 of file class.ilParticipants.php.
ilParticipants::getTutors | ( | ) |
Get all tutors ids.
@access public
Definition at line 690 of file class.ilParticipants.php.
ilParticipants::getType | ( | ) |
Get object type.
Definition at line 586 of file class.ilParticipants.php.
References $type.
|
static |
Get user membership assignments by type.
int[] | $a_user_ids | |
string[] | $a_type | |
bool | $a_only_member_roles |
Definition at line 272 of file class.ilParticipants.php.
References $DIC, $ilDB, $query, $res, and ilLogLevel\DEBUG.
Referenced by ilTimingsUser\lookupTimings().
|
static |
Check if (current) user has access to the participant list.
int | $a_obj | |
int | $a_usr_id |
Definition at line 169 of file class.ilParticipants.php.
References $DIC, $GLOBALS, $ref_id, ilObject\_getAllReferences(), getInstance(), 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.
@access public
int | user_id |
Definition at line 862 of file class.ilParticipants.php.
References true.
Referenced by ilCourseParticipants\__buildStatusBody().
ilParticipants::isAdmin | ( | $a_usr_id | ) |
is user admin
@access public
int | usr_id |
Definition at line 702 of file class.ilParticipants.php.
References true.
Referenced by ilCourseParticipants\__buildStatusBody().
ilParticipants::isAssigned | ( | $a_usr_id | ) |
check if user is assigned
@access public
Definition at line 741 of file class.ilParticipants.php.
ilParticipants::isBlocked | ( | $a_usr_id | ) |
Check if user is blocked.
@access public
int | user_id |
Definition at line 847 of file class.ilParticipants.php.
References true.
Referenced by ilCourseParticipants\__buildStatusBody().
ilParticipants::isContact | ( | $a_usr_id | ) |
Check if user is contact.
int | usr_id |
Definition at line 1159 of file class.ilParticipants.php.
ilParticipants::isGroupingMember | ( | $a_usr_id, | |
$a_field = '' |
|||
) |
Check grouping membership.
@access public
Definition at line 1319 of file class.ilParticipants.php.
References $DIC, $ilDB, $query, $res, ilObjectFactory\getInstanceByObjId(), and true.
ilParticipants::isLastAdmin | ( | $a_usr_id | ) |
Check if user is last admin.
int | $a_usr_id |
Definition at line 751 of file class.ilParticipants.php.
ilParticipants::isMember | ( | $a_usr_id | ) |
is user member
@access public
int | usr_id |
Definition at line 726 of file class.ilParticipants.php.
References true.
Referenced by ilCourseParticipants\__buildStatusBody().
ilParticipants::isNotificationEnabled | ( | $a_usr_id | ) |
check if notification is enabled
@access public
Definition at line 1146 of file class.ilParticipants.php.
References true.
Referenced by ilCourseParticipants\__buildStatusBody().
ilParticipants::isSubscriber | ( | $a_usr_id | ) |
check if is subscriber
@access public
Definition at line 1619 of file class.ilParticipants.php.
References $DIC, $ilDB, $query, $res, and ilDBConstants\FETCHMODE_OBJECT.
ilParticipants::isTutor | ( | $a_usr_id | ) |
is user tutor
@access public
int | usr_id |
Definition at line 714 of file class.ilParticipants.php.
References true.
Referenced by ilCourseParticipants\__buildStatusBody().
|
static |
Lookup number of members @global ilRbacReview $rbacreview @global <type> $ilObjDataCache.
<type> | $a_ref_id |
Definition at line 412 of file class.ilParticipants.php.
References $DIC.
Referenced by ilObjCourse\handleAutoFill(), and ilObjGroup\handleAutoFill().
|
static |
Lookup the number of participants (crs admins, tutors, members, grp admins, members)
@global ilRbacReview $rbacreview
int | $a_ref_id |
Definition at line 395 of file class.ilParticipants.php.
References $DIC.
|
static |
Definition at line 1361 of file class.ilParticipants.php.
References $DIC, $ilDB, $query, $res, and ilDBConstants\FETCHMODE_OBJECT.
|
static |
Definition at line 1711 of file class.ilParticipants.php.
References $data, $DIC, $ilDB, $query, $res, and ilDBConstants\FETCHMODE_OBJECT.
Referenced by ilSubscriberTableGUI\readSubscriberData().
|
protected |
Read participants.
@access private
Definition at line 1190 of file class.ilParticipants.php.
References $DIC, $GLOBALS, IL_CRS_ADMIN, IL_CRS_MEMBER, IL_CRS_TUTOR, IL_GRP_ADMIN, IL_GRP_MEMBER, IL_LSO_ADMIN, IL_LSO_MEMBER, IL_ROLE_POSITION_ADMIN, IL_ROLE_POSITION_MEMBER, IL_ROLE_POSITION_TUTOR, and IL_SESS_MEMBER.
Referenced by __construct().
|
protected |
Read status of participants (blocked, notification, passed)
@access private
Reimplemented in ilSessionParticipants.
Definition at line 1292 of file class.ilParticipants.php.
References $DIC, $ilDB, $query, $res, and ilDBConstants\FETCHMODE_OBJECT.
Referenced by __construct().
|
protected |
read subscribers
@access protected
Definition at line 1692 of file class.ilParticipants.php.
References $data, $DIC, $ilDB, $query, $res, and ilDBConstants\FETCHMODE_OBJECT.
|
protected |
read subscribers
@access protected
Definition at line 1664 of file class.ilParticipants.php.
References $DIC, $ilDB, $query, $res, ilDBConstants\FETCHMODE_OBJECT, and ilObjectFactory\getInstanceByObjId().
ilParticipants::setRoleOrderPosition | ( | $a_user_id | ) |
Set role order position.
int | $a_user_id |
Definition at line 1783 of file class.ilParticipants.php.
ilParticipants::updateBlocked | ( | $a_usr_id, | |
$a_blocked | |||
) |
Update blocked status.
@access public
int | usr_id |
bool | blocked |
Definition at line 917 of file class.ilParticipants.php.
ilParticipants::updateContact | ( | $a_usr_id, | |
$a_contact | |||
) |
Update contact setting @global type $ilDB.
type | $a_usr_id | |
type | $a_contact |
Definition at line 956 of file class.ilParticipants.php.
ilParticipants::updateNotification | ( | $a_usr_id, | |
$a_notification | |||
) |
Update notification status.
@access public
int | usr_id |
bool | passed |
Definition at line 999 of file class.ilParticipants.php.
ilParticipants::updateRoleAssignments | ( | $a_usr_id, | |
$a_roles | |||
) |
Update role assignments.
@access public
int | usr_id |
array | array of new roles |
Definition at line 798 of file class.ilParticipants.php.
References $DIC.
ilParticipants::updateSubject | ( | $a_usr_id, | |
$a_subject | |||
) |
update subject
@access public
return
Definition at line 1553 of file class.ilParticipants.php.
ilParticipants::updateSubscriptionTime | ( | $a_usr_id, | |
$a_subtime | |||
) |
Update subscription time.
@access public
Definition at line 1531 of file class.ilParticipants.php.
|
protected |
Definition at line 46 of file class.ilParticipants.php.
|
protected |
Definition at line 31 of file class.ilParticipants.php.
Referenced by getComponent().
|
protected |
Definition at line 53 of file class.ilParticipants.php.
Referenced by ilCourseParticipants\__buildStatusBody(), ilGroupParticipants\_isParticipant(), ilCourseParticipants\getDateTimeOfPassed(), ilCourseParticipants\getPassedInfo(), ilCourseParticipants\getPassedUsersForObjects(), ilCourseParticipants\sendNotificationToAdmins(), ilCourseParticipants\sendSubscriptionRequestToAdmins(), and ilCourseParticipants\sendUnsubscribeNotificationToAdmins().
|
protected |
Definition at line 58 of file class.ilParticipants.php.
|
protected |
Definition at line 64 of file class.ilParticipants.php.
Referenced by ilLearningSequenceParticipants\__construct(), and ilLearningSequenceParticipants\_getInstanceByObjId().
|
protected |
Definition at line 44 of file class.ilParticipants.php.
|
protected |
Definition at line 33 of file class.ilParticipants.php.
Referenced by ilLearningSequenceParticipants\__construct(), ilLearningSequenceParticipants\_getInstanceByObjId(), ilSessionParticipants\_isParticipant(), and getInstance().
|
protected |
Definition at line 42 of file class.ilParticipants.php.
|
protected |
Definition at line 43 of file class.ilParticipants.php.
|
protected |
Definition at line 69 of file class.ilParticipants.php.
|
protected |
Definition at line 35 of file class.ilParticipants.php.
Referenced by ilLearningSequenceParticipants\_isParticipant(), ilLearningSequenceParticipants\getMemberRoles(), and hasParticipantListAccess().
|
protected |
Definition at line 40 of file class.ilParticipants.php.
|
protected |
Definition at line 38 of file class.ilParticipants.php.
|
protected |
Definition at line 37 of file class.ilParticipants.php.
Referenced by ilCourseParticipants\getMemberRoles(), ilGroupParticipants\getMemberRoles(), and ilLearningSequenceParticipants\getMemberRoles().
|
protected |
Definition at line 39 of file class.ilParticipants.php.
|
protected |
Definition at line 48 of file class.ilParticipants.php.
|
protected |
Definition at line 45 of file class.ilParticipants.php.
|
protected |
Definition at line 34 of file class.ilParticipants.php.
Referenced by getInstance(), getInstanceByObjId(), and ilLearningSequenceParticipants\sendNotification().