|
ILIAS
release_8 Revision v8.24
|
Base class for course and group participants. More...
Inheritance diagram for ilParticipants:
Collaboration diagram for ilParticipants:Public Member Functions | |
| __construct (string $a_component_name, int $a_ref_id) | |
| getObjId () | |
| getType () | |
| 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 () | |
| getTutors () | |
| Get all tutors ids. More... | |
| isAdmin (int $a_usr_id) | |
| check if user is admin More... | |
| isTutor (int $a_usr_id) | |
| is user tutor More... | |
| isMember (int $a_usr_id) | |
| is user member More... | |
| isAssigned (int $a_usr_id) | |
| check if user is assigned More... | |
| isLastAdmin (int $a_usr_id) | |
| Check if user is last admin. More... | |
| getRoles () | |
| Get object roles. More... | |
| getAssignedRoles (int $a_usr_id) | |
| Get assigned roles. More... | |
| updateRoleAssignments ($a_usr_id, $a_roles) | |
| Update role assignments @access public. More... | |
| checkLastAdmin (array $a_usr_ids) | |
| Check if users for deletion are last admins @access public. More... | |
| isBlocked (int $a_usr_id) | |
| Check if user is blocked. More... | |
| hasPassed (int $a_usr_id) | |
| Check if user has passed object. More... | |
| delete (int $a_usr_id) | |
| Drop user from all roles. More... | |
| updateBlocked (int $a_usr_id, bool $a_blocked) | |
| Update blocked status. More... | |
| updateContact (int $a_usr_id, bool $a_contact) | |
| getContacts () | |
| get user ids which are confirgured as contact More... | |
| updateNotification (int $a_usr_id, bool $a_notification) | |
| Update notification status. More... | |
| add (int $a_usr_id, int $a_role) | |
| deleteParticipants (array $a_user_ids) | |
| addRecommendation (int $a_usr_id) | |
| Add desktop item @access public. More... | |
| isNotificationEnabled (int $a_usr_id) | |
| isContact (int $a_usr_id) | |
| getAutoGeneratedRoleId (int $a_role_type) | |
| isGroupingMember (int $a_usr_id, string $a_field='') | |
| Check membership for. More... | |
| getSubscribers () | |
| get all subscribers int[] More... | |
| getCountSubscribers () | |
| getSubscriberData (int $a_usr_id) | |
| assignSubscribers (array $a_usr_ids) | |
| assignSubscriber (int $a_usr_id) | |
| autoFillSubscribers () | |
| addSubscriber (int $a_usr_id) | |
| updateSubscriptionTime (int $a_usr_id, int $a_subtime) | |
| updateSubject (int $a_usr_id, string $a_subject) | |
| deleteSubscriber (int $a_usr_id) | |
| deleteSubscribers (array $a_usr_ids) | |
| isSubscriber (int $a_usr_id) | |
| setRoleOrderPosition (int $a_user_id) | |
| Set role order position. More... | |
Static Public Member Functions | |
| static | getInstance (int $a_ref_id) |
| static | getInstanceByObjId (int $a_obj_id) |
| Get instance by obj type. More... | |
| static | hasParticipantListAccess (int $a_obj_id, int $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 (array $a_user_ids, array $a_type, bool $a_only_member_roles) |
| Get user membership assignments by type. More... | |
| static | _getMembershipByType (int $a_usr_id, array $a_type, bool $a_only_member_role=false) |
| get membership by type Get course or group membership More... | |
| static | _isParticipant (int $a_ref_id, int $a_usr_id) |
| Static function to check if a user is a participant of the container object. More... | |
| static | lookupNumberOfParticipants (int $a_ref_id) |
| Lookup the number of participants (crs admins, tutors, members, grp admins, members) More... | |
| static | lookupNumberOfMembers (int $a_ref_id) |
| Lookup number of members. More... | |
| static | _isBlocked (int $a_obj_id, int $a_usr_id) |
| Check if user is blocked. More... | |
| static | _hasPassed (int $a_obj_id, int $a_usr_id) |
| Check if user has passed course. More... | |
| static | _deleteAllEntries (int $a_obj_id) |
| Delete all entries Normally called in case of object deletion. More... | |
| static | _deleteUser (int $a_usr_id) |
| Delete user data. More... | |
| static | getDefaultMemberRole (int $a_ref_id) |
| static | lookupSubscribers (int $a_obj_id) |
| static | _isSubscriber (int $a_obj_id, int $a_usr_id) |
| static | lookupSubscribersData (int $a_obj_id) |
| static | _getAllSupportContactsOfUser (int $a_usr_id, string $a_type) |
| Get all support contacts for a user. More... | |
Data Fields | |
| const | IL_CRS_ADMIN = 1 |
| const | IL_CRS_TUTOR = 3 |
| const | IL_CRS_MEMBER = 2 |
| const | IL_GRP_ADMIN = 4 |
| const | IL_GRP_MEMBER = 5 |
| const | IL_SESS_MEMBER = 6 |
| const | IL_LSO_ADMIN = 7 |
| const | IL_LSO_MEMBER = 8 |
| const | IL_ROLE_POSITION_ADMIN = 1 |
| const | IL_ROLE_POSITION_TUTOR = 2 |
| const | IL_ROLE_POSITION_MEMBER = 3 |
Protected Member Functions | |
| getComponent () | |
| Get component name Used for raising events. More... | |
| readParticipants () | |
| readParticipantsStatus () | |
| Read status of participants (blocked, notification, passed) More... | |
| readSubscribers () | |
| readSubscriberData (int $a_usr_id) | |
Protected Attributes | |
| string | $component = '' |
| int | $ref_id = 0 |
| int | $obj_id = 0 |
| string | $type = '' |
| array | $roles = [] |
| array | $role_data = [] |
| array | $roles_sorted = [] |
| array | $role_assignments = [] |
| array | $participants = [] |
| array | $participants_status = [] |
| array | $members = [] |
| array | $tutors = [] |
| array | $admins = [] |
| array | $subscribers = [] |
| ilAppEventHandler | $eventHandler |
| ilRbacReview | $rbacReview |
| ilRbacAdmin | $rbacAdmin |
| ilObjectDataCache | $objectDataCache |
| ilDBInterface | $ilDB |
| ilLanguage | $lng |
| ilLogger | $logger |
| ilErrorHandling | $error |
| ilRecommendedContentManager | $recommended_content_manager |
Base class for course and group participants.
Definition at line 30 of file class.ilParticipants.php.
| ilParticipants::__construct | ( | string | $a_component_name, |
| int | $a_ref_id | ||
| ) |
| string | component definition e.g Modules/Course used for event handler |
| int | ref_id of container |
Definition at line 72 of file class.ilParticipants.php.
References $DIC, ilObject\_lookupObjId(), ilObject\_lookupType(), error(), ILIAS\Repository\lng(), ILIAS\Repository\logger(), readParticipants(), and readParticipantsStatus().
Here is the call graph for this function:
|
static |
Delete all entries Normally called in case of object deletion.
Definition at line 442 of file class.ilParticipants.php.
References $DIC, $ilDB, $query, and $res.
Referenced by ilObjCourse\delete(), ilObjGroup\delete(), and ilObjLearningSequence\delete().
Here is the caller graph for this function:
|
static |
Delete user data.
Definition at line 463 of file class.ilParticipants.php.
References $DIC, $ilDB, $query, $res, and ilWaitingList\_deleteUser().
Referenced by ilObjCourse\_deleteUser().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Get all support contacts for a user.
| int | $a_usr_id | usr_id |
| string | $a_type | crs or grp |
join the two queries or alternatively reuse _getMembershipByType
fix returning fetchAssoc result
Definition at line 1338 of file class.ilParticipants.php.
References $DIC, $ilDB, $query, $res, and ILIAS\Repository\int().
Referenced by ILIAS\Awareness\User\ProviderCourseContacts\getInitialUserSet().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
get membership by type Get course or group membership
| int | $a_usr_id | usr_id |
| string[] | $a_type | array of object types |
Definition at line 306 of file class.ilParticipants.php.
References $ilDB.
Referenced by ilMailSearchObjectGUI\doesExposeMembers(), ilDashboardLearningSequenceGUI\getAssignments(), ILIAS\Awareness\User\ProviderMemberships\getInitialUserSet(), ilTestEvaluationData\getParticipants(), ilPortfolioAccessHandler\getPossibleSharedTargets(), ilWorkspaceAccessHandler\getPossibleSharedTargets(), ilWorkspaceShareTableGUI\initFilter(), ilCalendarCategories\readPDCalendars(), ilCalendarCategories\readReposCalendars(), ilWorkspaceAccessGUI\share(), and ilObjectCopyGUI\showSourceSelectionMembership().
Here is the caller graph for this function:
|
static |
Check if user has passed course.
Definition at line 425 of file class.ilParticipants.php.
References $DIC, $ilDB, $query, and $res.
Referenced by ilObjCourseAccess\checkCondition(), and ilLPStatusManualByTutor\refreshStatus().
Here is the caller graph for this function:
|
static |
Check if user is blocked.
Definition at line 409 of file class.ilParticipants.php.
|
static |
Static function to check if a user is a participant of the container object.
Reimplemented in ilGroupParticipants, ilLearningSequenceParticipants, and ilSessionParticipants.
Definition at line 353 of file class.ilParticipants.php.
References $DIC.
Referenced by ilForumModeratorsGUI\detachModeratorRole(), ilObjCourseGUI\executeCommand(), ilMembershipGUI\executeCommand(), ilObjCourseGUI\getTabs(), and ilObjCourseGUI\initHeaderAction().
Here is the caller graph for this function:
|
static |
Definition at line 1254 of file class.ilParticipants.php.
References $DIC, $ilDB, $query, $res, and ilDBConstants\FETCHMODE_OBJECT.
Referenced by ilObjSessionAccess\_checkAccess(), and ilObjCourseListGUI\getProperties().
Here is the caller graph for this function:| ilParticipants::add | ( | int | $a_usr_id, |
| int | $a_role | ||
| ) |
Reimplemented in ilCourseParticipants, ilGroupParticipants, ilLearningSequenceParticipants, and ilSessionParticipants.
Definition at line 820 of file class.ilParticipants.php.
References ilWaitingList\deleteUserEntry().
Here is the call graph for this function:| ilParticipants::addRecommendation | ( | int | $a_usr_id | ) |
Add desktop item @access public.
Definition at line 881 of file class.ilParticipants.php.
Referenced by ilCourseParticipants\add(), and ilGroupParticipants\add().
Here is the caller graph for this function:| ilParticipants::addSubscriber | ( | int | $a_usr_id | ) |
Reimplemented in ilCourseParticipants, ilGroupParticipants, and ilLearningSequenceParticipants.
Definition at line 1189 of file class.ilParticipants.php.
| ilParticipants::assignSubscriber | ( | int | $a_usr_id | ) |
Definition at line 1137 of file class.ilParticipants.php.
References ILIAS\UI\examples\Symbol\Glyph\Add\add(), error(), ilObjectFactory\getInstanceByObjId(), and ILIAS\Repository\lng().
Here is the call graph for this function:| ilParticipants::assignSubscribers | ( | array | $a_usr_ids | ) |
Definition at line 1124 of file class.ilParticipants.php.
References $id.
| ilParticipants::autoFillSubscribers | ( | ) |
Definition at line 1176 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 199 of file class.ilParticipants.php.
References $DIC.
Referenced by ilMailSearchObjectGUI\doesExposeMembers(), and ilMailSearchObjectGUI\mailObjects().
Here is the caller graph for this function:| ilParticipants::checkLastAdmin | ( | array | $a_usr_ids | ) |
Check if users for deletion are last admins @access public.
| int[] | array of user ids for deletion |
Reimplemented in ilSessionParticipants.
Definition at line 677 of file class.ilParticipants.php.
| ilParticipants::delete | ( | int | $a_usr_id | ) |
Drop user from all roles.
Definition at line 712 of file class.ilParticipants.php.
| ilParticipants::deleteParticipants | ( | array | $a_user_ids | ) |
| int[] |
Definition at line 869 of file class.ilParticipants.php.
| ilParticipants::deleteSubscriber | ( | int | $a_usr_id | ) |
Definition at line 1219 of file class.ilParticipants.php.
| ilParticipants::deleteSubscribers | ( | array | $a_usr_ids | ) |
Definition at line 1227 of file class.ilParticipants.php.
References $query, $res, error(), and ILIAS\Repository\lng().
Here is the call graph for this function:| ilParticipants::getAdmins | ( | ) |
Get all admins ids.
Definition at line 568 of file class.ilParticipants.php.
| ilParticipants::getAssignedRoles | ( | int | $a_usr_id | ) |
Get assigned roles.
Definition at line 638 of file class.ilParticipants.php.
| ilParticipants::getAutoGeneratedRoleId | ( | int | $a_role_type | ) |
Definition at line 904 of file class.ilParticipants.php.
|
protected |
Get component name Used for raising events.
Definition at line 151 of file class.ilParticipants.php.
References $component.
| ilParticipants::getContacts | ( | ) |
get user ids which are confirgured as contact
Definition at line 780 of file class.ilParticipants.php.
References ILIAS\Repository\int().
Here is the call graph for this function:| ilParticipants::getCountAdmins | ( | ) |
Definition at line 573 of file class.ilParticipants.php.
| ilParticipants::getCountMembers | ( | ) |
Get number of members (not participants)
Definition at line 532 of file class.ilParticipants.php.
| ilParticipants::getCountParticipants | ( | ) |
Get number of participants.
Definition at line 540 of file class.ilParticipants.php.
| ilParticipants::getCountSubscribers | ( | ) |
Definition at line 1114 of file class.ilParticipants.php.
|
static |
Definition at line 477 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().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Reimplemented in ilSessionParticipants.
Definition at line 94 of file class.ilParticipants.php.
References $DIC, $logger, $obj_id, $type, ilObject\_lookupObjId(), ilObject\_lookupType(), ilSessionParticipants\getInstance(), getInstanceByObjId(), ilLogger\logStack(), and ilLogger\warning().
Referenced by ilSessionParticipantsTableGUI\__construct(), ilEventParticipants\__read(), ilSessionParticipantsTableGUI\collectParticipants(), ilCourseMembershipGUI\deleteParticipantsWithLinkedCourses(), ilMembershipGUI\executeCommand(), ilCourseReferenceLP\getMembers(), ilMembershipGUI\getMembersObject(), ilSessionParticipantsTableGUI\getParentLocalRoles(), ilTrQuery\getParticipantsForObject(), ilStudyProgrammeMembershipSourceReaderFactory\getReaderFor(), ilECSAppEventListener\handleMembership(), ilCourseReferenceAppEventListener\handleReferences(), hasParticipantListAccess(), ilObjGroupGUI\infoScreen(), ilMembershipGUI\initAttendanceList(), ilCourseReferencePathInfo\isReferenceMemberUpdateConfirmationRequired(), ilPDSelectedItemsBlockGUI\manageObject(), ilCourseReferenceDeleteConfirmationTableGUI\readLinkedCourseAssignments(), ilObjSessionGUI\registerObject(), ilObjSessionGUI\showJoinRequestButton(), and ilSessionMembershipGUI\updateMembers().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Get instance by obj type.
Definition at line 122 of file class.ilParticipants.php.
References $DIC, $logger, $type, ilCourseParticipants\_getInstanceByObjId(), ilGroupParticipants\_getInstanceByObjId(), ilSessionParticipants\_getInstanceByObjId(), ilLearningSequenceParticipants\_getInstanceByObjId(), ilObject\_lookupType(), ilLogger\logStack(), ilLogger\warning(), and ilLogLevel\WARNING.
Referenced by ilGroupParticipantsTableGUI\__construct(), ilCourseParticipantsTableGUI\__construct(), ilGroupAddToGroupActionGUI\addUser(), ilAppointmentPresentationCourseGUI\collectPropertiesAndActions(), ilGroupAddToGroupActionGUI\confirmAddUser(), ilGroupAddToGroupActionGUI\createGroupAndAddUser(), ilMailSearchObjectGUI\doesExposeMembers(), getInstance(), ilContSkillMemberTableGUI\getMembers(), ilLPStatusManualByTutor\getMembers(), ilObjCourseGUI\infoScreen(), ilRepositorySearchGUI\listUsers(), ilMembershipGUI\membersMap(), and ilRepositoryObjectResultTableGUI\parseObjectIds().
Here is the call graph for this function:
Here is the caller graph for this function:| ilParticipants::getMembers | ( | ) |
Get all members ids (admins and tutors are not members) Use get participants to fetch all.
Definition at line 559 of file class.ilParticipants.php.
| ilParticipants::getNotificationRecipients | ( | ) |
Get admin, tutor which have notification enabled.
Definition at line 514 of file class.ilParticipants.php.
References $query, $res, ilDBConstants\FETCHMODE_OBJECT, ILIAS\Repository\int(), and ilDBConstants\T_INTEGER.
Referenced by ilGroupParticipants\sendNotification(), and ilLearningSequenceParticipants\sendNotification().
Here is the call graph for this function:
Here is the caller graph for this function:| ilParticipants::getObjId | ( | ) |
Definition at line 500 of file class.ilParticipants.php.
Referenced by ilCourseParticipants\addSubscriber(), ilGroupParticipants\addSubscriber(), ilLearningSequenceParticipants\addSubscriber(), and ilSessionParticipants\register().
Here is the caller graph for this function:| ilParticipants::getParticipants | ( | ) |
Get all participants ids.
Definition at line 549 of file class.ilParticipants.php.
Referenced by ilSessionParticipants\readParticipantsStatus().
Here is the caller graph for this function:| ilParticipants::getRoles | ( | ) |
Get object roles.
Definition at line 630 of file class.ilParticipants.php.
| ilParticipants::getSubscriberData | ( | int | $a_usr_id | ) |
Definition at line 1119 of file class.ilParticipants.php.
| ilParticipants::getSubscribers | ( | ) |
get all subscribers int[]
Definition at line 1108 of file class.ilParticipants.php.
| ilParticipants::getTutors | ( | ) |
Get all tutors ids.
Definition at line 582 of file class.ilParticipants.php.
| ilParticipants::getType | ( | ) |
Definition at line 505 of file class.ilParticipants.php.
References $type.
Referenced by ilMailMemberSearchDataProvider\__construct().
Here is the caller graph for this function:
|
static |
Get user membership assignments by type.
Definition at line 258 of file class.ilParticipants.php.
References $ilDB.
Referenced by ilTimingsUser\lookupTimings().
Here is the caller graph for this function:
|
static |
Check if (current) user has access to the participant list.
Definition at line 159 of file class.ilParticipants.php.
References $DIC, $ref_id, ilObject\_getAllReferences(), getInstance(), ilObjCourse\lookupShowMembersEnabled(), and ilObjGroup\lookupShowMembersEnabled().
Referenced by ilRepositorySearchGUI\listUsers(), ilRepositoryObjectResultTableGUI\parseObjectIds(), and ilMailSearchGUI\showResults().
Here is the call graph for this function:
Here is the caller graph for this function:| ilParticipants::hasPassed | ( | int | $a_usr_id | ) |
Check if user has passed object.
Definition at line 701 of file class.ilParticipants.php.
| ilParticipants::isAdmin | ( | int | $a_usr_id | ) |
check if user is admin
Definition at line 590 of file class.ilParticipants.php.
Referenced by ilMembershipGUI\executeCommand().
Here is the caller graph for this function:| ilParticipants::isAssigned | ( | int | $a_usr_id | ) |
check if user is assigned
Definition at line 614 of file class.ilParticipants.php.
| ilParticipants::isBlocked | ( | int | $a_usr_id | ) |
Check if user is blocked.
Definition at line 690 of file class.ilParticipants.php.
| ilParticipants::isContact | ( | int | $a_usr_id | ) |
Definition at line 896 of file class.ilParticipants.php.
| ilParticipants::isGroupingMember | ( | int | $a_usr_id, |
| string | $a_field = '' |
||
| ) |
Check membership for.
Definition at line 1045 of file class.ilParticipants.php.
References $query, $res, ilLogLevel\ERROR, ilObjectFactory\getInstanceByObjId(), and ILIAS\Repository\logger().
Here is the call graph for this function:| ilParticipants::isLastAdmin | ( | int | $a_usr_id | ) |
Check if user is last admin.
Definition at line 622 of file class.ilParticipants.php.
| ilParticipants::isMember | ( | int | $a_usr_id | ) |
is user member
Definition at line 606 of file class.ilParticipants.php.
| ilParticipants::isNotificationEnabled | ( | int | $a_usr_id | ) |
Definition at line 888 of file class.ilParticipants.php.
| ilParticipants::isSubscriber | ( | int | $a_usr_id | ) |
Definition at line 1241 of file class.ilParticipants.php.
References $query, $res, and ilDBConstants\FETCHMODE_OBJECT.
| ilParticipants::isTutor | ( | int | $a_usr_id | ) |
is user tutor
Definition at line 598 of file class.ilParticipants.php.
|
static |
Lookup number of members.
Definition at line 377 of file class.ilParticipants.php.
References $DIC.
Referenced by ilObjCourse\handleAutoFill(), ilObjGroup\handleAutoFill(), and ilObjSession\handleAutoFill().
Here is the caller graph for this function:
|
static |
Lookup the number of participants (crs admins, tutors, members, grp admins, members)
Definition at line 365 of file class.ilParticipants.php.
References $DIC.
|
static |
Definition at line 1087 of file class.ilParticipants.php.
References $DIC, $ilDB, $query, $res, ilDBConstants\FETCHMODE_OBJECT, and ILIAS\Repository\int().
Here is the call graph for this function:
|
static |
| int | $a_usr_id |
Definition at line 1312 of file class.ilParticipants.php.
References $data, $DIC, $ilDB, $query, $res, ilDBConstants\FETCHMODE_OBJECT, and ILIAS\Repository\int().
Referenced by ilSubscriberTableGUI\readSubscriberData().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 912 of file class.ilParticipants.php.
Referenced by __construct().
Here is the caller graph for this function:
|
protected |
Read status of participants (blocked, notification, passed)
Reimplemented in ilSessionParticipants.
Definition at line 1028 of file class.ilParticipants.php.
References $query, $res, ilDBConstants\FETCHMODE_OBJECT, and ILIAS\Repository\int().
Referenced by __construct().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 1292 of file class.ilParticipants.php.
References $data, $query, $res, ilDBConstants\FETCHMODE_OBJECT, and ILIAS\Repository\int().
Here is the call graph for this function:
|
protected |
Definition at line 1273 of file class.ilParticipants.php.
References $query, $res, ilDBConstants\FETCHMODE_OBJECT, ilObjectFactory\getInstanceByObjId(), and ILIAS\Repository\int().
Here is the call graph for this function:| ilParticipants::setRoleOrderPosition | ( | int | $a_user_id | ) |
Set role order position.
Definition at line 1380 of file class.ilParticipants.php.
| ilParticipants::updateBlocked | ( | int | $a_usr_id, |
| bool | $a_blocked | ||
| ) |
Update blocked status.
Definition at line 740 of file class.ilParticipants.php.
References $query, $res, and ILIAS\Repository\int().
Here is the call graph for this function:| ilParticipants::updateContact | ( | int | $a_usr_id, |
| bool | $a_contact | ||
| ) |
Definition at line 765 of file class.ilParticipants.php.
| ilParticipants::updateNotification | ( | int | $a_usr_id, |
| bool | $a_notification | ||
| ) |
Update notification status.
Definition at line 794 of file class.ilParticipants.php.
Referenced by ilLearningSequenceMembershipGUI\updateParticipantsStatus().
Here is the caller graph for this function:| ilParticipants::updateRoleAssignments | ( | $a_usr_id, | |
| $a_roles | |||
| ) |
Update role assignments @access public.
| int | usr_id |
| int[] | array of new roles |
Definition at line 655 of file class.ilParticipants.php.
| ilParticipants::updateSubject | ( | int | $a_usr_id, |
| string | $a_subject | ||
| ) |
Definition at line 1210 of file class.ilParticipants.php.
| ilParticipants::updateSubscriptionTime | ( | int | $a_usr_id, |
| int | $a_subtime | ||
| ) |
Definition at line 1201 of file class.ilParticipants.php.
|
protected |
Definition at line 56 of file class.ilParticipants.php.
|
protected |
Definition at line 44 of file class.ilParticipants.php.
Referenced by getComponent().
|
protected |
Definition at line 65 of file class.ilParticipants.php.
|
protected |
Definition at line 58 of file class.ilParticipants.php.
|
protected |
Definition at line 62 of file class.ilParticipants.php.
|
protected |
Definition at line 63 of file class.ilParticipants.php.
|
protected |
Definition at line 64 of file class.ilParticipants.php.
Referenced by ilLearningSequenceParticipants\__construct(), ilLearningSequenceParticipants\_getInstanceByObjId(), getInstance(), and getInstanceByObjId().
|
protected |
Definition at line 54 of file class.ilParticipants.php.
|
protected |
Definition at line 46 of file class.ilParticipants.php.
Referenced by ilLearningSequenceParticipants\__construct(), ilLearningSequenceParticipants\_getInstanceByObjId(), ilSessionParticipants\_isParticipant(), and getInstance().
|
protected |
Definition at line 61 of file class.ilParticipants.php.
|
protected |
Definition at line 52 of file class.ilParticipants.php.
|
protected |
Definition at line 53 of file class.ilParticipants.php.
|
protected |
Definition at line 60 of file class.ilParticipants.php.
|
protected |
Definition at line 59 of file class.ilParticipants.php.
|
protected |
Definition at line 66 of file class.ilParticipants.php.
|
protected |
Definition at line 45 of file class.ilParticipants.php.
Referenced by ilLearningSequenceParticipants\getMemberRoles(), and hasParticipantListAccess().
|
protected |
Definition at line 51 of file class.ilParticipants.php.
|
protected |
Definition at line 49 of file class.ilParticipants.php.
|
protected |
Definition at line 48 of file class.ilParticipants.php.
Referenced by ilCourseParticipants\getMemberRoles(), ilGroupParticipants\getMemberRoles(), and ilLearningSequenceParticipants\getMemberRoles().
|
protected |
Definition at line 50 of file class.ilParticipants.php.
|
protected |
Definition at line 57 of file class.ilParticipants.php.
|
protected |
Definition at line 55 of file class.ilParticipants.php.
|
protected |
Definition at line 47 of file class.ilParticipants.php.
Referenced by getInstance(), getInstanceByObjId(), and ilLearningSequenceParticipants\sendNotification().
| const ilParticipants::IL_CRS_ADMIN = 1 |
Definition at line 32 of file class.ilParticipants.php.
Referenced by ilParticipant\add(), ilObjCourseGUI\afterSave(), ilSoapCourseAdministration\assignCourseMember(), ilCourseMembershipGUI\assignMembers(), ilParticipant\checkLastAdmin(), ilObjCourse\cloneObject(), ilECSMappingUtils\getRoleMappingInfo(), ilCourseXMLParser\handleAdmin(), ilECSCmsCourseMemberCommandQueueHandler\lookupRole(), ilMemberExport\readCourseData(), ilParticipant\readParticipant(), and ilMemberExport\write().
| const ilParticipants::IL_CRS_MEMBER = 2 |
Definition at line 34 of file class.ilParticipants.php.
Referenced by ilCourseRegistrationGUI\add(), ilParticipant\add(), ilSoapCourseAdministration\assignCourseMember(), ilMembershipGUI\assignFromWaitingList(), ilCourseMembershipGUI\assignMembers(), ilECSMappingUtils\getRoleMappingInfo(), ilObjCourse\handleAutoFill(), ilCourseXMLParser\handleMember(), ilCourseReferenceAppEventListener\handleReferences(), ilECSCmsCourseMemberCommandQueueHandler\lookupRole(), ilMemberExport\readCourseData(), ilParticipant\readParticipant(), and ilMemberExport\write().
| const ilParticipants::IL_CRS_TUTOR = 3 |
Definition at line 33 of file class.ilParticipants.php.
Referenced by ilParticipant\add(), ilSoapCourseAdministration\assignCourseMember(), ilCourseMembershipGUI\assignMembers(), ilECSMappingUtils\getRoleMappingInfo(), ilCourseXMLParser\handleTutor(), ilECSCmsCourseMemberCommandQueueHandler\lookupRole(), ilMemberExport\readCourseData(), ilParticipant\readParticipant(), and ilMemberExport\write().
| const ilParticipants::IL_GRP_ADMIN = 4 |
Definition at line 35 of file class.ilParticipants.php.
Referenced by ilParticipant\add(), ilObjGroupGUI\afterSave(), ilGroupXMLParser\assignMembers(), ilGroupMembershipGUI\assignMembers(), ilParticipant\checkLastAdmin(), ilECSMappingUtils\getRoleMappingInfo(), ilECSCmsCourseMemberCommandQueueHandler\lookupRole(), ilMemberExport\readCourseData(), ilParticipant\readParticipant(), and ilMemberExport\write().
| const ilParticipants::IL_GRP_MEMBER = 5 |
Definition at line 36 of file class.ilParticipants.php.
Referenced by ilCourseParticipantsGroupsGUI\add(), ilGroupRegistrationGUI\add(), ilParticipant\add(), ilGroupAddToGroupActionGUI\addUser(), ilMembershipGUI\assignFromWaitingList(), ilGroupXMLParser\assignMembers(), ilGroupMembershipGUI\assignMembers(), ilGroupAddToGroupActionGUI\createGroupAndAddUser(), ilECSMappingUtils\getRoleMappingInfo(), ilObjGroup\handleAutoFill(), ilECSAppEventListener\handleMembership(), ilECSCmsCourseMemberCommandQueueHandler\lookupRole(), ilMemberExport\readCourseData(), ilParticipant\readParticipant(), ilMembershipRegistrationCodeUtils\useCode(), and ilMemberExport\write().
| const ilParticipants::IL_LSO_ADMIN = 7 |
Definition at line 38 of file class.ilParticipants.php.
Referenced by ilObjLearningSequenceGUI\afterSave(), and ilLearningSequenceMembershipGUI\assignMembers().
| const ilParticipants::IL_LSO_MEMBER = 8 |
Definition at line 39 of file class.ilParticipants.php.
Referenced by ilLearningSequenceMembershipGUI\assignMembers().
| const ilParticipants::IL_ROLE_POSITION_ADMIN = 1 |
Definition at line 40 of file class.ilParticipants.php.
| const ilParticipants::IL_ROLE_POSITION_MEMBER = 3 |
Definition at line 42 of file class.ilParticipants.php.
| const ilParticipants::IL_ROLE_POSITION_TUTOR = 2 |
Definition at line 41 of file class.ilParticipants.php.
| const ilParticipants::IL_SESS_MEMBER = 6 |
Definition at line 37 of file class.ilParticipants.php.
Referenced by ilSessionParticipants\register(), and ilSessionMembershipGUI\updateMembers().