ILIAS
trunk Revision v11.0_alpha-1769-g99a433fe2dc
|
Base class for course and group participants. More...
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 public. More... | |
checkLastAdmin (array $a_usr_ids) | |
Check if users for deletion are last admins 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 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 (int|ilObject $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(), ILIAS\Repository\lng(), ILIAS\Repository\logger(), ILIAS\Repository\objectDataCache(), readParticipants(), and readParticipantsStatus().
|
static |
Delete all entries Normally called in case of object deletion.
Definition at line 441 of file class.ilParticipants.php.
References $DIC, $res, ilDBInterface\manipulate(), and ilDBInterface\quote().
Referenced by ilObjLearningSequence\delete(), ilObjGroup\delete(), ilObjCourse\delete(), and ilSoapCourseAdministration\excludeCourseMember().
|
static |
Delete user data.
Definition at line 462 of file class.ilParticipants.php.
References $DIC, $res, ilWaitingList\_deleteUser(), ilDBInterface\manipulate(), and ilDBInterface\quote().
Referenced by ilObjCourse\_deleteUser().
|
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 1336 of file class.ilParticipants.php.
References $DIC, $res, ilDBInterface\fetchAssoc(), ilDBInterface\fetchObject(), ilDBInterface\in(), ILIAS\Repository\int(), ilDBInterface\query(), and ilDBInterface\quote().
Referenced by ceLTIc\LTI\User\ProviderCourseContacts\getInitialUserSet().
|
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 305 of file class.ilParticipants.php.
References $DIC, $res, ilDBInterface\concat(), ilDBInterface\fetchObject(), ilDBInterface\in(), ILIAS\Repository\int(), ilDBInterface\query(), and ilDBInterface\quote().
Referenced by ilNewsItem\_getNewsItemsOfUser(), ilLPPersonalGUI\buildViewControls(), ilMailSearchObjectGUI\cancel(), ilPortfolioPageGUI\getCoursesOfUser(), ceLTIc\LTI\User\ProviderMemberships\getInitialUserSet(), ilTestEvaluationData\getParticipants(), ilWorkspaceAccessHandler\getPossibleSharedTargets(), ilPortfolioAccessHandler\getPossibleSharedTargets(), ILIAS\News\Dashboard\DashboardNewsManager\getUserNewsObjectRefIds(), ilWorkspaceShareTableGUI\initFilter(), ilDashboardLearningSequenceGUI\initViewSettings(), ilCalendarCategories\readPDCalendars(), ilCalendarCategories\readReposCalendars(), ilWorkspaceAccessGUI\share(), and ilObjectCopyGUI\showSourceSelectionMembership().
|
static |
Check if user has passed course.
Definition at line 424 of file class.ilParticipants.php.
References $DIC, $res, ilDBInterface\query(), and ilDBInterface\quote().
Referenced by ilObjCourseAccess\checkCondition(), and ilLPStatusManualByTutor\refreshStatus().
|
static |
Check if user is blocked.
Definition at line 408 of file class.ilParticipants.php.
References $DIC, $res, ilDBInterface\query(), and ilDBInterface\quote().
|
static |
Static function to check if a user is a participant of the container object.
Definition at line 352 of file class.ilParticipants.php.
References $DIC.
Referenced by ilForumModeratorsGUI\detachModeratorRole(), ilMembershipGUI\executeCommand(), ilObjCourseGUI\executeCommand(), ilObjCourseGUI\getTabs(), ilNotification\hasNotification(), ilObjCourseGUI\initHeaderAction(), and ilParticipantsPerAssignmentTableGUI\parseData().
|
static |
Definition at line 1252 of file class.ilParticipants.php.
References $DIC, $res, ilDBConstants\FETCHMODE_OBJECT, ilDBInterface\query(), and ilDBInterface\quote().
Referenced by ilObjSessionAccess\_checkAccess(), and ilObjCourseListGUI\getProperties().
ilParticipants::add | ( | int | $a_usr_id, |
int | $a_role | ||
) |
Definition at line 819 of file class.ilParticipants.php.
References deleteSubscriber(), ilWaitingList\deleteUserEntry(), getComponent(), and isAssigned().
Referenced by assignSubscriber().
ilParticipants::addRecommendation | ( | int | $a_usr_id | ) |
Add desktop item public.
Definition at line 879 of file class.ilParticipants.php.
Referenced by ilCourseParticipants\add(), and ilGroupParticipants\add().
ilParticipants::addSubscriber | ( | int | $a_usr_id | ) |
ilParticipants::assignSubscriber | ( | int | $a_usr_id | ) |
Definition at line 1135 of file class.ilParticipants.php.
References add(), deleteSubscriber(), ilObjectFactory\getInstanceByObjId(), isAssigned(), isSubscriber(), and ILIAS\Repository\lng().
Referenced by assignSubscribers(), and autoFillSubscribers().
ilParticipants::assignSubscribers | ( | array | $a_usr_ids | ) |
Definition at line 1122 of file class.ilParticipants.php.
References $id, and assignSubscriber().
ilParticipants::autoFillSubscribers | ( | ) |
Definition at line 1174 of file class.ilParticipants.php.
References assignSubscriber(), and readSubscribers().
|
static |
This method was introduced as a band-aid fix for #22764.
Please do not use this anywhere else.
Definition at line 198 of file class.ilParticipants.php.
References $DIC, ilObject\_getAllReferences(), ilObject\getId(), ilObjectFactory\getInstanceByRefId(), ilObject\getRefId(), ILIAS\Repository\int(), ilObjSession\MAIL_ALLOWED_ALL, ilCourseConstants\MAIL_ALLOWED_ALL, and ilObjGroup\MAIL_ALLOWED_ALL.
Referenced by ilMailSearchObjectGUI\cancel(), and ilMailSearchObjectGUI\mailObjects().
ilParticipants::checkLastAdmin | ( | array | $a_usr_ids | ) |
Check if users for deletion are last admins public.
int[] | array of user ids for deletion |
Definition at line 676 of file class.ilParticipants.php.
References getAdmins().
ilParticipants::delete | ( | int | $a_usr_id | ) |
Drop user from all roles.
Definition at line 711 of file class.ilParticipants.php.
References $res, getComponent(), readParticipants(), and readParticipantsStatus().
ilParticipants::deleteParticipants | ( | array | $a_user_ids | ) |
ilParticipants::deleteSubscriber | ( | int | $a_usr_id | ) |
Definition at line 1217 of file class.ilParticipants.php.
References $res.
Referenced by add(), assignSubscriber(), and readSubscribers().
ilParticipants::deleteSubscribers | ( | array | $a_usr_ids | ) |
Definition at line 1225 of file class.ilParticipants.php.
References $res, and ILIAS\Repository\lng().
ilParticipants::getAdmins | ( | ) |
Get all admins ids.
Definition at line 567 of file class.ilParticipants.php.
References $admins.
Referenced by checkLastAdmin(), getCountAdmins(), and isLastAdmin().
ilParticipants::getAssignedRoles | ( | int | $a_usr_id | ) |
Get assigned roles.
Definition at line 637 of file class.ilParticipants.php.
ilParticipants::getAutoGeneratedRoleId | ( | int | $a_role_type | ) |
Definition at line 902 of file class.ilParticipants.php.
|
protected |
Get component name Used for raising events.
Definition at line 151 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 779 of file class.ilParticipants.php.
References ILIAS\Repository\int().
ilParticipants::getCountAdmins | ( | ) |
Definition at line 572 of file class.ilParticipants.php.
References getAdmins().
ilParticipants::getCountMembers | ( | ) |
Get number of members (not participants)
Definition at line 531 of file class.ilParticipants.php.
ilParticipants::getCountParticipants | ( | ) |
Get number of participants.
Definition at line 539 of file class.ilParticipants.php.
ilParticipants::getCountSubscribers | ( | ) |
Definition at line 1112 of file class.ilParticipants.php.
References getSubscribers().
|
static |
Definition at line 476 of file class.ilParticipants.php.
References $DIC, ilObject\_lookupObjId(), ilObject\_lookupTitle(), and ilObject\_lookupType().
Referenced by ilContSkillPresentationGUI\__construct(), ilContProfileTableGUI\__construct(), ilContSkillAdminGUI\__construct(), ilCourseRegistrationGUI\add(), ilRepositorySearchGUI\addRole(), ilContainerImporter\finalProcessing(), ILIAS\Skill\Usage\SkillUsageManager\getAssignedObjectsForSkillProfile(), ILIAS\Container\Skills\ContainerSkillManager\getProfileSkills(), ilRbacSystem\initMemberView(), ilStartUpGUI\processIndexPHP(), and ilSkillProfileGUI\saveLocal().
|
static |
Definition at line 94 of file class.ilParticipants.php.
References $DIC, $logger, ilObject\_lookupObjId(), ilObject\_lookupType(), ilSessionParticipants\getInstance(), ilLogger\logStack(), and ilLogger\warning().
Referenced by ilSessionParticipantsTableGUI\__construct(), ilEventParticipants\__read(), ilSessionParticipantsTableGUI\collectParticipants(), ilCourseMembershipGUI\deleteParticipantsWithLinkedCourses(), ilMembershipGUI\executeCommand(), ilConsultationHourUtils\getConsultationHourLinksForRepositoryObject(), ilDashboardBlockGUI\getManageFields(), ilCourseReferenceLP\getMembers(), ilMembershipGUI\getMembersObject(), ilSessionParticipantsTableGUI\getParentLocalRoles(), ilTrQuery\getParticipantsForObject(), ilStudyProgrammeMembershipSourceReaderFactory\getReaderFor(), ilECSAppEventListener\handleMembership(), ilCourseReferenceAppEventListener\handleReferences(), ilObjGroupGUI\infoScreen(), ilMembershipGUI\initAttendanceList(), ilCourseReferencePathInfo\isReferenceMemberUpdateConfirmationRequired(), ilCourseReferenceDeleteConfirmationTableGUI\readLinkedCourseAssignments(), ilObjSessionGUI\registerObject(), ilObjSessionGUI\showJoinRequestButton(), and ilSessionMembershipGUI\updateMembers().
|
static |
Get instance by obj type.
Definition at line 122 of file class.ilParticipants.php.
References $DIC, $logger, ilCourseParticipants\_getInstanceByObjId(), ilSessionParticipants\_getInstanceByObjId(), ilLearningSequenceParticipants\_getInstanceByObjId(), ilGroupParticipants\_getInstanceByObjId(), ilObject\_lookupType(), ilLogger\logStack(), ilLogLevel\WARNING, and ilLogger\warning().
Referenced by ilGroupParticipantsTableGUI\__construct(), ilCourseParticipantsTableGUI\__construct(), ilGroupAddToGroupActionGUI\addUser(), ilMailSearchObjectGUI\cancel(), ilAppointmentPresentationCourseGUI\collectPropertiesAndActions(), ilGroupAddToGroupActionGUI\confirmAddUser(), ilGroupAddToGroupActionGUI\createGroupAndAddUser(), ilWorkspaceAccessHandler\findSharedObjects(), ilPortfolioAccessHandler\findSharedObjects(), ilContSkillMemberTableGUI\getMembers(), ilLPStatusEvent\getMembers(), ilLPStatusManualByTutor\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.
Definition at line 558 of file class.ilParticipants.php.
References $members.
ilParticipants::getNotificationRecipients | ( | ) |
Get admin, tutor which have notification enabled.
Definition at line 513 of file class.ilParticipants.php.
References $res, ilDBConstants\FETCHMODE_OBJECT, ILIAS\Repository\int(), isAdmin(), isTutor(), and ilDBConstants\T_INTEGER.
Referenced by ilGroupParticipants\sendNotification(), ilLearningSequenceParticipants\sendNotification(), ilCourseParticipants\sendNotificationToAdmins(), ilCourseParticipants\sendSubscriptionRequestToAdmins(), and ilCourseParticipants\sendUnsubscribeNotificationToAdmins().
ilParticipants::getObjId | ( | ) |
Definition at line 499 of file class.ilParticipants.php.
References $obj_id.
Referenced by ilCourseParticipants\addSubscriber(), ilGroupParticipants\addSubscriber(), ilLearningSequenceParticipants\addSubscriber(), and ilSessionParticipants\register().
ilParticipants::getParticipants | ( | ) |
Get all participants ids.
Definition at line 548 of file class.ilParticipants.php.
References $participants.
Referenced by isGroupingMember(), and ilSessionParticipants\readParticipantsStatus().
ilParticipants::getRoles | ( | ) |
Get object roles.
Definition at line 629 of file class.ilParticipants.php.
References $roles.
Referenced by updateRoleAssignments().
ilParticipants::getSubscriberData | ( | int | $a_usr_id | ) |
Definition at line 1117 of file class.ilParticipants.php.
References readSubscriberData().
ilParticipants::getSubscribers | ( | ) |
get all subscribers int[]
Definition at line 1106 of file class.ilParticipants.php.
References $subscribers, and readSubscribers().
Referenced by getCountSubscribers().
ilParticipants::getTutors | ( | ) |
Get all tutors ids.
Definition at line 581 of file class.ilParticipants.php.
References $tutors.
ilParticipants::getType | ( | ) |
|
static |
Get user membership assignments by type.
Definition at line 257 of file class.ilParticipants.php.
References $DIC, $res, ilDBInterface\concat(), ilDBInterface\fetchObject(), ilDBInterface\in(), ILIAS\Repository\int(), ilDBInterface\query(), and ilDBInterface\quote().
Referenced by ilTimingsUser\lookupTimings().
|
static |
Check if (current) user has access to the participant list.
Definition at line 159 of file class.ilParticipants.php.
References $DIC, ilObject\_getAllReferences(), ilObjCourse\lookupShowMembersEnabled(), and ilObjGroup\lookupShowMembersEnabled().
Referenced by ilRepositorySearchGUI\listUsers(), ilRepositoryObjectResultTableGUI\parseObjectIds(), and ilMailSearchGUI\showResults().
ilParticipants::hasPassed | ( | int | $a_usr_id | ) |
Check if user has passed object.
Definition at line 700 of file class.ilParticipants.php.
ilParticipants::isAdmin | ( | int | $a_usr_id | ) |
check if user is admin
Definition at line 589 of file class.ilParticipants.php.
Referenced by ilMembershipGUI\executeCommand(), and getNotificationRecipients().
ilParticipants::isAssigned | ( | int | $a_usr_id | ) |
check if user is assigned
Definition at line 613 of file class.ilParticipants.php.
Referenced by add(), and assignSubscriber().
ilParticipants::isBlocked | ( | int | $a_usr_id | ) |
Check if user is blocked.
Definition at line 689 of file class.ilParticipants.php.
ilParticipants::isContact | ( | int | $a_usr_id | ) |
Definition at line 894 of file class.ilParticipants.php.
ilParticipants::isGroupingMember | ( | int | $a_usr_id, |
string | $a_field = '' |
||
) |
Check membership for.
Definition at line 1043 of file class.ilParticipants.php.
References $res, ilLogLevel\ERROR, ilObjectFactory\getInstanceByObjId(), getParticipants(), and ILIAS\Repository\logger().
ilParticipants::isLastAdmin | ( | int | $a_usr_id | ) |
Check if user is last admin.
Definition at line 621 of file class.ilParticipants.php.
References getAdmins().
ilParticipants::isMember | ( | int | $a_usr_id | ) |
is user member
Definition at line 605 of file class.ilParticipants.php.
ilParticipants::isNotificationEnabled | ( | int | $a_usr_id | ) |
Definition at line 886 of file class.ilParticipants.php.
ilParticipants::isSubscriber | ( | int | $a_usr_id | ) |
Definition at line 1239 of file class.ilParticipants.php.
References $res, and ilDBConstants\FETCHMODE_OBJECT.
Referenced by assignSubscriber().
ilParticipants::isTutor | ( | int | $a_usr_id | ) |
is user tutor
Definition at line 597 of file class.ilParticipants.php.
Referenced by getNotificationRecipients().
|
static |
Lookup number of members.
Definition at line 376 of file class.ilParticipants.php.
References $DIC.
Referenced by ilObjSession\handleAutoFill(), ilObjGroup\handleAutoFill(), and ilObjCourse\handleAutoFill().
|
static |
Lookup the number of participants (crs admins, tutors, members, grp admins, members)
Definition at line 364 of file class.ilParticipants.php.
References $DIC.
|
static |
Definition at line 1085 of file class.ilParticipants.php.
References $DIC, $res, $subscribers, ilDBConstants\FETCHMODE_OBJECT, ILIAS\Repository\int(), ilDBInterface\query(), and ilDBInterface\quote().
|
static |
int | $a_usr_id |
Definition at line 1310 of file class.ilParticipants.php.
References $data, $DIC, $res, ilDBConstants\FETCHMODE_OBJECT, ILIAS\Repository\int(), ilDBInterface\query(), and ilDBInterface\quote().
Referenced by ilSubscriberTableGUI\readSubscriberData().
|
protected |
Definition at line 910 of file class.ilParticipants.php.
References $participants, and ILIAS\Repository\objectDataCache().
Referenced by __construct(), delete(), and updateRoleAssignments().
|
protected |
Read status of participants (blocked, notification, passed)
Definition at line 1026 of file class.ilParticipants.php.
References $res, ilDBConstants\FETCHMODE_OBJECT, and ILIAS\Repository\int().
Referenced by __construct(), delete(), and updateRoleAssignments().
|
protected |
Definition at line 1290 of file class.ilParticipants.php.
References $data, $res, ilDBConstants\FETCHMODE_OBJECT, and ILIAS\Repository\int().
Referenced by getSubscriberData().
|
protected |
Definition at line 1271 of file class.ilParticipants.php.
References $res, deleteSubscriber(), ilDBConstants\FETCHMODE_OBJECT, ilObjectFactory\getInstanceByObjId(), and ILIAS\Repository\int().
Referenced by autoFillSubscribers(), and getSubscribers().
ilParticipants::setRoleOrderPosition | ( | int | $a_user_id | ) |
ilParticipants::updateBlocked | ( | int | $a_usr_id, |
bool | $a_blocked | ||
) |
Update blocked status.
Definition at line 739 of file class.ilParticipants.php.
References $res, and ILIAS\Repository\int().
ilParticipants::updateContact | ( | int | $a_usr_id, |
bool | $a_contact | ||
) |
Definition at line 764 of file class.ilParticipants.php.
ilParticipants::updateNotification | ( | int | $a_usr_id, |
bool | $a_notification | ||
) |
Update notification status.
Definition at line 793 of file class.ilParticipants.php.
References $res.
Referenced by ilLearningSequenceMembershipGUI\updateParticipantsStatus().
ilParticipants::updateRoleAssignments | ( | $a_usr_id, | |
$a_roles | |||
) |
Update role assignments public.
int | usr_id |
int[] | array of new roles |
Definition at line 654 of file class.ilParticipants.php.
References getRoles(), readParticipants(), and readParticipantsStatus().
ilParticipants::updateSubject | ( | int | $a_usr_id, |
string | $a_subject | ||
) |
ilParticipants::updateSubscriptionTime | ( | int | $a_usr_id, |
int | $a_subtime | ||
) |
|
protected |
Definition at line 56 of file class.ilParticipants.php.
Referenced by getAdmins().
|
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.
Referenced by ilCourseParticipants\_updatePassed(), ilCourseParticipants\getDateTimeOfPassed(), and ilCourseParticipants\getPassedUsersForObjects().
|
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.
Referenced by getMembers().
|
protected |
Definition at line 46 of file class.ilParticipants.php.
Referenced by ilLearningSequenceParticipants\_getInstanceByObjId(), ilSessionParticipants\_isParticipant(), and getObjId().
|
protected |
Definition at line 61 of file class.ilParticipants.php.
|
protected |
Definition at line 52 of file class.ilParticipants.php.
Referenced by getParticipants(), and readParticipants().
|
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.
|
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(), ilLearningSequenceParticipants\getMemberRoles(), and getRoles().
|
protected |
Definition at line 50 of file class.ilParticipants.php.
|
protected |
Definition at line 57 of file class.ilParticipants.php.
Referenced by getSubscribers(), and lookupSubscribers().
|
protected |
Definition at line 55 of file class.ilParticipants.php.
Referenced by getTutors().
|
protected |
Definition at line 47 of file class.ilParticipants.php.
Referenced by getType().
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(), ilSoapCourseAdministration\excludeCourseMember(), ilECSMappingUtils\getRoleMappingInfo(), ilSoapObjectAdministration\getXMLTree(), 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 ilParticipant\add(), ilCourseRegistrationGUI\add(), ilSoapCourseAdministration\assignCourseMember(), ilMembershipGUI\assignFromWaitingList(), ilCourseMembershipGUI\assignMembers(), ilSoapCourseAdministration\excludeCourseMember(), 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(), ilSoapCourseAdministration\excludeCourseMember(), 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(), ilGroupMembershipGUI\assignMembers(), ilGroupXMLParser\assignMembers(), ilParticipant\checkLastAdmin(), ilECSMappingUtils\getRoleMappingInfo(), ilSoapGroupAdministration\groupExists(), ilECSCmsCourseMemberCommandQueueHandler\lookupRole(), ilObjGroup\read(), 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(), ilParticipant\add(), ilGroupRegistrationGUI\add(), ilGroupAddToGroupActionGUI\addUser(), ilMembershipGUI\assignFromWaitingList(), ilGroupMembershipGUI\assignMembers(), ilGroupXMLParser\assignMembers(), ilGroupAddToGroupActionGUI\createGroupAndAddUser(), ilECSMappingUtils\getRoleMappingInfo(), ilSoapGroupAdministration\groupExists(), 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().