|
ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Inheritance diagram for ilCourseParticipants:
Collaboration diagram for ilCourseParticipants:Public Member Functions | |
| __construct ($a_obj_id) | |
| Singleton constructor. More... | |
| add ($a_usr_id, $a_role) | |
| Add user to role. More... | |
| addSubscriber ($a_usr_id) | |
| Add subscriber. More... | |
| updatePassed ($a_usr_id, $a_passed, $a_manual=false, $a_no_origin=false) | |
| Update passed status. More... | |
| getPassedInfo ($a_usr_id) | |
| Get info about passed status. More... | |
| sendNotification ($a_type, $a_usr_id, $a_force_sending_mail=false) | |
| sendUnsubscribeNotificationToAdmins ($a_usr_id) | |
| sendSubscriptionRequestToAdmins ($a_usr_id) | |
| sendNotificationToAdmins ($a_usr_id) | |
| __buildStatusBody (&$user_obj) | |
Public Member Functions inherited from ilParticipants | |
| __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... | |
| 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 | _getInstanceByObjId ($a_obj_id) |
| Get singleton instance. More... | |
| static | getMemberRoles ($a_ref_id) |
| Get member roles. More... | |
| static | getDateTimeOfPassed ($a_obj_id, $a_usr_id) |
| static | getPassedUsersForObjects (array $a_obj_ids, array $a_usr_ids) |
Static Public Member Functions inherited from ilParticipants | |
| 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 @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... | |
Data Fields | |
| const | COMPONENT_NAME = 'Modules/Course' |
Static Protected Attributes | |
| static | $instances = array() |
Additional Inherited Members | |
Protected Member Functions inherited from ilParticipants | |
| 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 inherited from ilParticipants | |
| $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 35 of file class.ilCourseParticipants.php.
| ilCourseParticipants::__construct | ( | $a_obj_id | ) |
Singleton constructor.
@access protected
| int | obj_id of container |
Definition at line 48 of file class.ilCourseParticipants.php.
References ilObject\_getAllReferences().
Here is the call graph for this function:| ilCourseParticipants::__buildStatusBody | ( | & | $user_obj | ) |
Definition at line 397 of file class.ilCourseParticipants.php.
References ilParticipants\$ilDB, ilParticipants\hasPassed(), ilParticipants\isAdmin(), ilParticipants\isBlocked(), ilParticipants\isMember(), ilParticipants\isNotificationEnabled(), and ilParticipants\isTutor().
Here is the call graph for this function:
|
static |
Get singleton instance.
@access public
| int | obj_id |
Definition at line 77 of file class.ilCourseParticipants.php.
Referenced by ilCourseXMLParser\__construct(), ilCourseEditParticipantsTableGUI\__construct(), ilCourseObjectiveResult\__updatePassed(), ilObjCourseAccess\_checkAccess(), ilObjCourseGrouping\_checkGroupingDependencies(), ilObjCourseGUI\afterImport(), ilModulesCourseTasks\assignAdminsToCourse(), ilSoapCourseAdministration\assignCourseMember(), ilModulesCourseTasks\assignLearnersToCourse(), ilModulesCourseTasks\assignTutorsToCourse(), ilPortfolioAccessHandler\checkAccessOfUser(), ilWorkspaceAccessHandler\checkAccessOfUser(), ilForumNotification\checkParentNodeTree(), ilCourseMembershipMailNotification\createCourseStatus(), ilSoapCourseAdministration\excludeCourseMember(), ilObjCourseGUI\executeCommand(), ilObjGroupGUI\executeCommand(), ilUserImportParser\getCourseMembersObjectForRole(), ilCalendarBlockGUI\getHTML(), ilParticipants\getInstanceByObjId(), ilCourseParticipantsGroupsTableGUI\getItems(), ilLPStatusCollection\getMembers(), ilLPStatusObjectives\getMembers(), ilCourseLP\getMembers(), ilNotification\getNotificationsForObject(), ilMembershipNotifications\getParticipants(), ilBadgeHandler\getUserIds(), ilObjSessionGUI\initContainer(), ilObjCourse\initCourseMembersObject(), ilMemberExport\initMembers(), ilCourseRegistrationGUI\initParticipants(), ilSoapCourseAdministration\isAssignedToCourse(), ilModulesCourseTasks\readAdminsFromCourse(), ilCalendarCategories\readAllConsultationHoursCalendarOfContainer(), ilModulesCourseTasks\readLearnersFromCourse(), ilModulesCourseTasks\readTutorsFromCourse(), ilECSCmsCourseMemberCommandQueueHandler\refreshAssignmentStatus(), ilObjCourse\register(), and ilMembershipTest\testSubscription().
Here is the caller graph for this function:| ilCourseParticipants::add | ( | $a_usr_id, | |
| $a_role | |||
| ) |
Add user to role.
| int | $a_usr_id | |
| int | $a_role |
Reimplemented from ilParticipants.
Definition at line 90 of file class.ilCourseParticipants.php.
References add(), and ilParticipants\addDesktopItem().
Here is the call graph for this function:| ilCourseParticipants::addSubscriber | ( | $a_usr_id | ) |
Add subscriber.
@access public
Reimplemented from ilParticipants.
Definition at line 125 of file class.ilCourseParticipants.php.
References $ilLog, and ilParticipants\getObjId().
Here is the call graph for this function:
|
static |
Definition at line 432 of file class.ilCourseParticipants.php.
References ilParticipants\$ilDB, $res, and date.
Referenced by ilObjCourseGUI\deliverCertificateObject(), ilCourseCertificateAdapter\getCertificateVariablesForPresentation(), and ilObjCourseGUI\initHeaderAction().
Here is the caller graph for this function:
|
static |
Get member roles.
| int | $a_ref_id |
Definition at line 103 of file class.ilCourseParticipants.php.
References ilParticipants\$roles, $title, and ilObject\_lookupTitle().
Referenced by ilObjCourseGUI\setShowHidePrefs().
Here is the call graph for this function:
Here is the caller graph for this function:| ilCourseParticipants::getPassedInfo | ( | $a_usr_id | ) |
Get info about passed status.
| int | $a_usr_id |
Definition at line 239 of file class.ilCourseParticipants.php.
References ilParticipants\$ilDB, $row, and IL_CAL_UNIX.
|
static |
Definition at line 447 of file class.ilCourseParticipants.php.
References ilParticipants\$ilDB, $res, and $row.
Referenced by ilCourseCertificateAdapter\_preloadListData().
Here is the caller graph for this function:| ilCourseParticipants::sendNotification | ( | $a_type, | |
| $a_usr_id, | |||
$a_force_sending_mail = false |
|||
| ) |
Definition at line 256 of file class.ilCourseParticipants.php.
References $a_type, $ilUser, sendNotificationToAdmins(), sendSubscriptionRequestToAdmins(), ilCourseMembershipMailNotification\TYPE_ACCEPTED_SUBSCRIPTION_MEMBER, ilCourseMembershipMailNotification\TYPE_ADMISSION_MEMBER, ilCourseMembershipMailNotification\TYPE_BLOCKED_MEMBER, ilCourseMembershipMailNotification\TYPE_DISMISS_MEMBER, ilCourseMembershipMailNotification\TYPE_REFUSED_SUBSCRIPTION_MEMBER, ilCourseMembershipMailNotification\TYPE_STATUS_CHANGED, ilCourseMembershipMailNotification\TYPE_SUBSCRIBE_MEMBER, ilCourseMembershipMailNotification\TYPE_UNBLOCKED_MEMBER, ilCourseMembershipMailNotification\TYPE_UNSUBSCRIBE_MEMBER, and ilCourseMembershipMailNotification\TYPE_WAITING_LIST_MEMBER.
Here is the call graph for this function:| ilCourseParticipants::sendNotificationToAdmins | ( | $a_usr_id | ) |
Definition at line 382 of file class.ilCourseParticipants.php.
References ilParticipants\$ilDB, ilParticipants\getNotificationRecipients(), and ilCourseMembershipMailNotification\TYPE_NOTIFICATION_REGISTRATION.
Referenced by sendNotification().
Here is the call graph for this function:
Here is the caller graph for this function:| ilCourseParticipants::sendSubscriptionRequestToAdmins | ( | $a_usr_id | ) |
Definition at line 367 of file class.ilCourseParticipants.php.
References ilParticipants\$ilDB, ilParticipants\getNotificationRecipients(), and ilCourseMembershipMailNotification\TYPE_NOTIFICATION_REGISTRATION_REQUEST.
Referenced by sendNotification().
Here is the call graph for this function:
Here is the caller graph for this function:| ilCourseParticipants::sendUnsubscribeNotificationToAdmins | ( | $a_usr_id | ) |
Definition at line 352 of file class.ilCourseParticipants.php.
References ilParticipants\$ilDB, ilParticipants\getNotificationRecipients(), and ilCourseMembershipMailNotification\TYPE_NOTIFICATION_UNSUBSCRIBE.
Here is the call graph for this function:| ilCourseParticipants::updatePassed | ( | $a_usr_id, | |
| $a_passed, | |||
$a_manual = false, |
|||
$a_no_origin = false |
|||
| ) |
Update passed status.
@access public
| int | $usr_id | |
| bool | $passed | |
| bool | $a_manual | |
| bool | $a_no_origin |
Definition at line 151 of file class.ilCourseParticipants.php.
|
staticprotected |
Definition at line 39 of file class.ilCourseParticipants.php.
| const ilCourseParticipants::COMPONENT_NAME = 'Modules/Course' |
Definition at line 37 of file class.ilCourseParticipants.php.