|
ILIAS
release_5-1 Revision 5.0.0-5477-g43f3e3fab5f
|
Inheritance diagram for ilParticipants:
Collaboration diagram for ilParticipants:Public Member Functions | |
| __construct ($a_component_name, $a_obj_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 course. 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... | |
| 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... | |
Static Public Member Functions | |
| 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... | |
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() | |
| $participants = array() | |
| $participants_status = array() | |
| $members = array() | |
| $tutors = array() | |
| $admins = array() | |
| $subscribers = array() | |
| $ilDB | |
| $lng | |
Definition at line 20 of file class.ilParticipants.php.
| ilParticipants::__construct | ( | $a_component_name, | |
| $a_obj_id | |||
| ) |
Singleton Constructor.
@access public
| int | obj_id of container |
Definition at line 50 of file class.ilParticipants.php.
References $ilDB, $lng, ilObject\_getAllReferences(), ilObject\_lookupType(), readParticipants(), and readParticipantsStatus().
Here is the call graph for this function:
|
static |
Delete all entries Normally called for course deletion.
@access public
| int | obj_id |
Definition at line 326 of file class.ilParticipants.php.
References $ilDB, $query, and $res.
Referenced by ilObjCourse\delete(), ilObjGroup\delete(), and ilSoapCourseAdministration\updateCourse().
Here is the caller graph for this function:
|
static |
Delete user data.
@access public
| int | user id |
Definition at line 353 of file class.ilParticipants.php.
References $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 |
Definition at line 1502 of file class.ilParticipants.php.
References $ilDB, $query, $res, and $row.
Referenced by ilAwarenessUserProviderCourseContacts\getInitialUserSet().
Here is the caller graph for this function:
|
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 159 of file class.ilParticipants.php.
References $ilDB, $query, $res, and $row.
Referenced by ilNewsItem\_getNewsItemsOfUser(), ilBasicSkill\getCompletionDateForTriggerRefId(), ilPortfolioPageGUI\getCoursesOfUser(), ilAwarenessUserProviderMemberships\getInitialUserSet(), ilCourseVerificationTableGUI\getItems(), ilPDSelectedItemsBlockGUI\getObjectsByMembership(), ilTestEvaluationData\getParticipants(), ilPortfolioAccessHandler\getPossibleSharedTargets(), ilWorkspaceAccessHandler\getPossibleSharedTargets(), ilWorkspaceShareTableGUI\initFilter(), ilCalendarCategories\readPDCalendars(), ilWorkspaceAccessGUI\share(), ilMailSearchGroupsGUI\showMyGroups(), and ilObjectCopyGUI\showSourceSelectionMembership().
Here is the caller graph for this function:
|
static |
Check if user has passed course.
@access public
| int | obj_id |
| int | user id |
Definition at line 305 of file class.ilParticipants.php.
References $ilDB, $query, and $res.
Referenced by ilObjCourseAccess\checkCondition().
Here is the caller graph for this function:
|
static |
Check if user is blocked.
@access public
| int | course id |
| int | usr_id |
Definition at line 284 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, and ilSessionParticipants.
Definition at line 212 of file class.ilParticipants.php.
Referenced by ilForumModeratorsGUI\detachModeratorRole(), ilObjCourseGUI\executeCommand(), ilObjCourseGUI\getTabs(), and ilObjCourseGUI\initHeaderAction().
Here is the caller graph for this function:
|
static |
check if user is subscriber
@access public
Definition at line 1410 of file class.ilParticipants.php.
References $ilDB, $query, $res, $row, and DB_FETCHMODE_OBJECT.
Referenced by ilObjCourseListGUI\getProperties(), and ilMembershipTest\testSubscription().
Here is the caller graph for this function:| ilParticipants::add | ( | $a_usr_id, | |
| $a_role | |||
| ) |
Add user to course.
@access public
| int | user id |
| int | role IL_CRS_ADMIN || IL_CRS_TUTOR || IL_CRS_MEMBER |
Definition at line 869 of file class.ilParticipants.php.
References $ilLog, addDesktopItem(), deleteSubscriber(), ilWaitingList\deleteUserEntry(), getComponent(), IL_CRS_ADMIN, IL_CRS_MEMBER, IL_CRS_TUTOR, IL_GRP_ADMIN, IL_GRP_MEMBER, and isAssigned().
Referenced by assignSubscriber().
Here is the call graph for this function:
Here is the caller graph for this function:| ilParticipants::addDesktopItem | ( | $a_usr_id | ) |
Add desktop item.
@access public
| int | usr_id |
Definition at line 947 of file class.ilParticipants.php.
References ilObjUser\_addDesktopItem(), and ilObjUser\_isDesktopItem().
Referenced by add().
Here is the call graph for this function:
Here is the caller graph for this function:| ilParticipants::addSubscriber | ( | $a_usr_id | ) |
Add subscriber.
@access public
Reimplemented in ilCourseParticipants, and ilGroupParticipants.
Definition at line 1286 of file class.ilParticipants.php.
| ilParticipants::assignSubscriber | ( | $a_usr_id | ) |
Assign subscriber.
@access public
Definition at line 1221 of file class.ilParticipants.php.
References $ilErr, add(), deleteSubscriber(), ilObjectFactory\getInstanceByObjId(), IL_CRS_MEMBER, isAssigned(), and isSubscriber().
Referenced by assignSubscribers(), and autoFillSubscribers().
Here is the call graph for this function:
Here is the caller graph for this function:| ilParticipants::assignSubscribers | ( | $a_usr_ids | ) |
Assign subscribers.
@access public
Definition at line 1200 of file class.ilParticipants.php.
References assignSubscriber().
Here is the call graph for this function:| ilParticipants::autoFillSubscribers | ( | ) |
Assign subscriber.
@access public
Definition at line 1259 of file class.ilParticipants.php.
References assignSubscriber(), and readSubscribers().
Here is the call graph for this function:| ilParticipants::checkLastAdmin | ( | $a_usr_ids | ) |
Check if user for deletion are last admins.
@access public
| array | array of user ids for deletion |
Definition at line 654 of file class.ilParticipants.php.
References getAdmins().
Here is the call graph for this function:| ilParticipants::delete | ( | $a_usr_id | ) |
Drop user from all roles.
@access public
| int | usr_id |
Reimplemented in ilSessionParticipants.
Definition at line 705 of file class.ilParticipants.php.
References $GLOBALS, $ilDB, $query, $res, dropDesktopItem(), getComponent(), readParticipants(), and readParticipantsStatus().
Here is the call graph for this function:| ilParticipants::deleteParticipants | ( | $a_user_ids | ) |
Delete users.
@access public
| array | user ids |
Definition at line 931 of file class.ilParticipants.php.
| ilParticipants::deleteSubscriber | ( | $a_usr_id | ) |
Delete subsciber.
@access public
Definition at line 1346 of file class.ilParticipants.php.
References $ilDB, $query, and $res.
Referenced by add(), assignSubscriber(), and readSubscribers().
Here is the caller graph for this function:| ilParticipants::deleteSubscribers | ( | $a_usr_ids | ) |
Delete subscibers.
@access public
Definition at line 1364 of file class.ilParticipants.php.
| ilParticipants::dropDesktopItem | ( | $a_usr_id | ) |
Drop desktop item.
@access public
| int | usr_id |
Definition at line 963 of file class.ilParticipants.php.
References ilObjUser\_dropDesktopItem(), and ilObjUser\_isDesktopItem().
Referenced by delete().
Here is the call graph for this function:
Here is the caller graph for this function:| ilParticipants::getAdmins | ( | ) |
Get all admins ids.
@access public
Definition at line 490 of file class.ilParticipants.php.
Referenced by checkLastAdmin(), getCountAdmins(), and isLastAdmin().
Here is the caller graph for this function:| ilParticipants::getAssignedRoles | ( | $a_usr_id | ) |
Get assigned roles.
@access public
| int | user_id |
Definition at line 597 of file class.ilParticipants.php.
|
protected |
Get component name Used for raising events.
Definition at line 103 of file class.ilParticipants.php.
References $component.
Referenced by add(), and delete().
Here is the caller graph for this function:| ilParticipants::getContacts | ( | ) |
get user ids which are confirgured as contact
Definition at line 801 of file class.ilParticipants.php.
| ilParticipants::getCountAdmins | ( | ) |
Get number of admins.
Definition at line 499 of file class.ilParticipants.php.
References getAdmins().
Here is the call graph for this function:| ilParticipants::getCountMembers | ( | ) |
Get number of members (not participants)
@access public
Definition at line 443 of file class.ilParticipants.php.
| ilParticipants::getCountParticipants | ( | ) |
Get number of participants.
@access public
Definition at line 454 of file class.ilParticipants.php.
| ilParticipants::getCountSubscribers | ( | ) |
get number of subscribers
@access public
Definition at line 1178 of file class.ilParticipants.php.
References getSubscribers().
Here is the call graph for this function:
|
static |
Definition at line 367 of file class.ilParticipants.php.
References $ilCtrl, $obj_id, $roles, $type, ilObject\_lookupObjId(), ilObject\_lookupTitle(), and ilObject\_lookupType().
Referenced by ilStartUpGUI\_checkGoto(), ilCourseRegistrationGUI\add(), and ilRbacSystem\initMemberView().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Get instance by obj type.
| int | $a_obj_id |
| InvalidArgumentException |
Definition at line 75 of file class.ilParticipants.php.
References $GLOBALS, $type, ilCourseParticipants\_getInstanceByObjId(), ilGroupParticipants\_getInstanceByObjId(), ilSessionParticipants\_getInstanceByObjId(), and ilObject\_lookupType().
Referenced by ilObjSessionGUI\assignSubscribersObject(), ilPortfolioAccessHandler\findSharedObjects(), ilWorkspaceAccessHandler\findSharedObjects(), ilECSAppEventListener\handleMembership(), hasParticipantListAccess(), ilObjCourseGUI\infoScreen(), ilRepositorySearchGUI\listUsers(), ilObjSessionGUI\membersObject(), ilRepositoryObjectResultTableGUI\parseObjectIds(), ilObjSessionGUI\refuseSubscribersObject(), ilObjSessionGUI\registerObject(), and ilObjSessionGUI\showJoinRequestButton().
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.
@access public
Definition at line 480 of file class.ilParticipants.php.
Referenced by ilSessionParticipants\readParticipantsStatus().
Here is the caller graph for this function:| ilParticipants::getNotificationRecipients | ( | ) |
Get admin, tutor which have notification enabled.
@access public
Definition at line 419 of file class.ilParticipants.php.
References $ilDB, $query, $res, $row, DB_FETCHMODE_OBJECT, and isAdmin().
Referenced by ilGroupParticipants\sendNotification(), ilCourseParticipants\sendNotificationToAdmins(), ilCourseParticipants\sendSubscriptionRequestToAdmins(), and ilCourseParticipants\sendUnsubscribeNotificationToAdmins().
Here is the call graph for this function:
Here is the caller graph for this function:| ilParticipants::getObjId | ( | ) |
get current obj_id
Definition at line 399 of file class.ilParticipants.php.
References $obj_id.
Referenced by ilCourseParticipants\addSubscriber(), and ilGroupParticipants\addSubscriber().
Here is the caller graph for this function:| ilParticipants::getParticipants | ( | ) |
Get all participants ids.
@access public
Definition at line 468 of file class.ilParticipants.php.
Referenced by isGroupingMember().
Here is the caller graph for this function:| ilParticipants::getRoles | ( | ) |
Get course roles.
@access public
Definition at line 585 of file class.ilParticipants.php.
Referenced by updateRoleAssignments().
Here is the caller graph for this function:| ilParticipants::getSubscriberData | ( | $a_usr_id | ) |
get subscriber data
@access public
Definition at line 1188 of file class.ilParticipants.php.
References readSubscriberData().
Here is the call graph for this function:| ilParticipants::getSubscribers | ( | ) |
get all subscribers
@access public
Definition at line 1165 of file class.ilParticipants.php.
References $subscribers, and readSubscribers().
Referenced by getCountSubscribers().
Here is the call graph for this function:
Here is the caller graph for this function:| ilParticipants::getTutors | ( | ) |
Get all tutors ids.
@access public
Definition at line 511 of file class.ilParticipants.php.
| ilParticipants::getType | ( | ) |
Get object type.
Definition at line 408 of file class.ilParticipants.php.
References $type.
|
static |
Check if (current) user has access to the participant list.
| type | $a_obj | |
| type | $a_usr_id |
Definition at line 115 of file class.ilParticipants.php.
References $GLOBALS, $ref_id, ilObject\_getAllReferences(), getInstanceByObjId(), and ilObjCourse\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 | ( | $a_usr_id | ) |
Check if user has passed course.
@access public
| int | user_id |
Definition at line 689 of file class.ilParticipants.php.
Referenced by ilCourseParticipants\__buildStatusBody().
Here is the caller graph for this function:| ilParticipants::isAdmin | ( | $a_usr_id | ) |
is user admin
@access public
| int | usr_id |
Definition at line 523 of file class.ilParticipants.php.
Referenced by ilCourseParticipants\__buildStatusBody(), and getNotificationRecipients().
Here is the caller graph for this function:| ilParticipants::isAssigned | ( | $a_usr_id | ) |
check if user is assigned
@access public
Definition at line 562 of file class.ilParticipants.php.
Referenced by add(), and assignSubscriber().
Here is the caller graph for this function:| ilParticipants::isBlocked | ( | $a_usr_id | ) |
Check if user is blocked.
@access public
| int | user_id |
Definition at line 673 of file class.ilParticipants.php.
Referenced by ilCourseParticipants\__buildStatusBody().
Here is the caller graph for this function:| ilParticipants::isContact | ( | $a_usr_id | ) |
Check if user is contact.
| int | usr_id |
Definition at line 996 of file class.ilParticipants.php.
| ilParticipants::isGroupingMember | ( | $a_usr_id, | |
$a_field = '' |
|||
| ) |
Check grouping membership.
@access public
Definition at line 1102 of file class.ilParticipants.php.
References $ilDB, $query, $res, ilObjectFactory\getInstanceByObjId(), and getParticipants().
Here is the call graph for this function:| ilParticipants::isLastAdmin | ( | $a_usr_id | ) |
Check if user is last admin.
| int | $a_usr_id |
Definition at line 572 of file class.ilParticipants.php.
References getAdmins().
Here is the call graph for this function:| ilParticipants::isMember | ( | $a_usr_id | ) |
is user member
@access public
| int | usr_id |
Definition at line 547 of file class.ilParticipants.php.
Referenced by ilCourseParticipants\__buildStatusBody().
Here is the caller graph for this function:| ilParticipants::isNotificationEnabled | ( | $a_usr_id | ) |
check if notification is enabled
@access public
Definition at line 982 of file class.ilParticipants.php.
Referenced by ilCourseParticipants\__buildStatusBody().
Here is the caller graph for this function:| ilParticipants::isSubscriber | ( | $a_usr_id | ) |
check if is subscriber
@access public
Definition at line 1388 of file class.ilParticipants.php.
References $ilDB, $query, $res, $row, and DB_FETCHMODE_OBJECT.
Referenced by assignSubscriber().
Here is the caller graph for this function:| ilParticipants::isTutor | ( | $a_usr_id | ) |
is user tutor
@access public
| int | usr_id |
Definition at line 535 of file class.ilParticipants.php.
Referenced by ilCourseParticipants\__buildStatusBody().
Here is the caller graph for this function:
|
static |
Lookup number of members @global ilRbacReview $rbacreview @global <type> $ilObjDataCache.
| <type> | $a_ref_id |
Definition at line 243 of file class.ilParticipants.php.
Referenced by ilObjCourse\handleAutoFill(), and ilObjGroup\handleAutoFill().
Here is the caller graph for this function:
|
static |
Lookup the number of participants (crs admins, tutors, members, grp admins, members)
@global ilRbacReview $rbacreview
| int | $a_ref_id |
Definition at line 228 of file class.ilParticipants.php.
|
static |
Definition at line 1143 of file class.ilParticipants.php.
References $ilDB, $query, $res, $row, $subscribers, and DB_FETCHMODE_OBJECT.
Referenced by ilObjCourseGUI\membersObject().
Here is the caller graph for this function:
|
static |
Definition at line 1477 of file class.ilParticipants.php.
References $data, $ilDB, $query, $res, $row, and DB_FETCHMODE_OBJECT.
Referenced by ilSubscriberTableGUI\readSubscriberData().
Here is the caller graph for this function:
|
protected |
Read participants.
@access private
Reimplemented in ilSessionParticipants.
Definition at line 1015 of file class.ilParticipants.php.
References $GLOBALS, $ilLog, IL_CRS_ADMIN, IL_CRS_MEMBER, IL_CRS_TUTOR, IL_GRP_ADMIN, and IL_GRP_MEMBER.
Referenced by __construct(), delete(), and updateRoleAssignments().
Here is the caller graph for this function:
|
protected |
Read status of participants (blocked, notification, passed)
@access private
Reimplemented in ilSessionParticipants.
Definition at line 1076 of file class.ilParticipants.php.
References $ilDB, $query, $res, $row, and DB_FETCHMODE_OBJECT.
Referenced by __construct(), delete(), and updateRoleAssignments().
Here is the caller graph for this function:
|
protected |
read subscribers
@access protected
Definition at line 1459 of file class.ilParticipants.php.
References $data, $ilDB, $query, $res, $row, DB_FETCHMODE_OBJECT, and ilDB\query().
Referenced by getSubscriberData().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
read subscribers
@access protected
Definition at line 1431 of file class.ilParticipants.php.
References $ilDB, $query, $res, $row, DB_FETCHMODE_OBJECT, deleteSubscriber(), ilObjectFactory\getInstanceByObjId(), and ilDB\query().
Referenced by autoFillSubscribers(), and getSubscribers().
Here is the call graph for this function:
Here is the caller graph for this function:| ilParticipants::updateBlocked | ( | $a_usr_id, | |
| $a_blocked | |||
| ) |
Update blocked status.
@access public
| int | usr_id |
| bool | blocked |
Definition at line 742 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 783 of file class.ilParticipants.php.
References $ilDB.
| ilParticipants::updateNotification | ( | $a_usr_id, | |
| $a_notification | |||
| ) |
Update notification status.
@access public
| int | usr_id |
| bool | passed |
Definition at line 825 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 619 of file class.ilParticipants.php.
References $roles, getRoles(), readParticipants(), and readParticipantsStatus().
Here is the call graph for this function:| ilParticipants::updateSubject | ( | $a_usr_id, | |
| $a_subject | |||
| ) |
update subject
@access public
return
Definition at line 1328 of file class.ilParticipants.php.
| ilParticipants::updateSubscriptionTime | ( | $a_usr_id, | |
| $a_subtime | |||
| ) |
Update subscription time.
@access public
Definition at line 1308 of file class.ilParticipants.php.
|
protected |
Definition at line 35 of file class.ilParticipants.php.
|
protected |
Definition at line 22 of file class.ilParticipants.php.
Referenced by getComponent().
|
protected |
Definition at line 39 of file class.ilParticipants.php.
Referenced by ilCourseParticipants\__buildStatusBody(), __construct(), _deleteAllEntries(), _deleteUser(), _getAllSupportContactsOfUser(), _getMembershipByType(), _hasPassed(), _isBlocked(), ilGroupParticipants\_isParticipant(), _isParticipant(), _isSubscriber(), ilCourseParticipants\_updatePassed(), addSubscriber(), delete(), deleteSubscriber(), deleteSubscribers(), ilCourseParticipants\getDateTimeOfPassed(), getNotificationRecipients(), ilCourseParticipants\getPassedInfo(), ilCourseParticipants\getPassedUsersForObjects(), isGroupingMember(), isSubscriber(), lookupSubscribers(), lookupSubscribersData(), readParticipantsStatus(), readSubscriberData(), readSubscribers(), ilCourseParticipants\sendNotificationToAdmins(), ilCourseParticipants\sendSubscriptionRequestToAdmins(), ilCourseParticipants\sendUnsubscribeNotificationToAdmins(), updateBlocked(), updateContact(), updateNotification(), updateSubject(), and updateSubscriptionTime().
|
protected |
Definition at line 40 of file class.ilParticipants.php.
Referenced by __construct().
|
protected |
Definition at line 33 of file class.ilParticipants.php.
|
protected |
Definition at line 24 of file class.ilParticipants.php.
Referenced by ilSessionParticipants\_isParticipant(), getDefaultMemberRole(), and getObjId().
|
protected |
Definition at line 31 of file class.ilParticipants.php.
|
protected |
Definition at line 32 of file class.ilParticipants.php.
|
protected |
Definition at line 26 of file class.ilParticipants.php.
Referenced by hasParticipantListAccess().
|
protected |
Definition at line 29 of file class.ilParticipants.php.
|
protected |
Definition at line 28 of file class.ilParticipants.php.
Referenced by getDefaultMemberRole(), ilCourseParticipants\getMemberRoles(), ilGroupParticipants\getMemberRoles(), and updateRoleAssignments().
|
protected |
Definition at line 37 of file class.ilParticipants.php.
Referenced by getSubscribers(), and lookupSubscribers().
|
protected |
Definition at line 34 of file class.ilParticipants.php.
|
protected |
Definition at line 25 of file class.ilParticipants.php.
Referenced by getDefaultMemberRole(), getInstanceByObjId(), and getType().