ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Base class for member tab content. More...
Public Member Functions | |
__construct (ilObjectGUI $repository_gui, ilObject $repository_obj) | |
Constructor. More... | |
getParentGUI () | |
Get parent gui. More... | |
getParentObject () | |
Get parent object. More... | |
getMembersObject () | |
Get member object. More... | |
filterUserIdsByRbacOrPositionOfCurrentUser ($a_user_ids) | |
Filter user ids by access. More... | |
updateParticipants () | |
update members More... | |
createMailSignature () | |
addMemberTab (ilTabsGUI $tabs, $a_is_participant=false) | |
add member tab More... | |
readMemberData (array $usr_ids, array $columns) | |
Required for member table guis. More... | |
getLocalRoles () | |
Get parent roles. More... | |
confirmAssignSubscribers () | |
Show subscription confirmation. More... | |
confirmRefuseSubscribers () | |
Refuse subscriber confirmation. More... | |
assignSubscribers () | |
Do assignment of subscription request type $rbacsystem type $ilErr. More... | |
confirmAssignFromWaitingList () | |
Assign from waiting list (confirmatoin) More... | |
assignFromWaitingList () | |
Assign from waiting list type $rbacsystem. More... | |
confirmRefuseFromList () | |
Refuse from waiting list (confirmation) More... | |
Protected Member Functions | |
getLanguage () | |
getCtrl () | |
getLogger () | |
checkPermissionBool ($a_permission, $a_cmd='', $a_type='', $a_ref_id=0) | |
Check permission. More... | |
checkRbacOrPositionAccessBool ($a_rbac_perm, $a_pos_perm, $a_ref_id=0) | |
Check if rbac or position access is granted. More... | |
checkPermission ($a_permission, $a_cmd="") | |
Check permission If not granted redirect to parent gui. More... | |
checkRbacOrPermissionAccess ($a_rbac_perm, $a_pos_perm) | |
check rbac or position access More... | |
canAddOrSearchUsers () | |
Check if current user is allowed to add / search users. More... | |
participants () | |
Show participant table, subscriber table, wating list table;. More... | |
participantsApplyFilter () | |
Apply filter for participant table. More... | |
participantsResetFilter () | |
reset participants filter More... | |
editMember () | |
Edit one participant. More... | |
editParticipants ($post_participants=array()) | |
Edit participants. More... | |
confirmDeleteParticipants () | |
Show confirmation screen for participants deletion. More... | |
deleteParticipants () | |
sendMailToSelectedUsers () | |
Send mail to selected users. More... | |
membersMap () | |
Members map. More... | |
mailMembersBtn () | |
Mail to members view type $ilToolbar. More... | |
showParticipantsToolbar () | |
Show participants toolbar. More... | |
showMemberExportToolbarButton (ilToolbarGUI $toolbar, $a_back_cmd=null, $a_separator=false) | |
Show member export button. More... | |
showMailToMemberToolbarButton (ilToolbarGUI $toolbar, $a_back_cmd=null, $a_separator=false) | |
Show mail to member toolbar button. More... | |
getDefaultCommand () | |
Get default command. More... | |
setSubTabs (ilTabsGUI $tabs) | |
Set sub tabs. More... | |
parseSubscriberTable () | |
Parse table of subscription request. More... | |
refuseSubscribers () | |
Refuse subscribers type $rbacsystem. More... | |
parseWaitingListTable () | |
Parse table of subscription request. More... | |
refuseFromList () | |
refuse from waiting list More... | |
addToClipboard () | |
Add selected users to user clipboard. More... | |
getDefaultRole () | |
printMembers () | |
Print members. More... | |
printMembersOutput () | |
print members output More... | |
printForMembersOutput () | |
print members output More... | |
jump2UsersGallery () | |
Protected Attributes | |
$lng = null | |
$ctrl = null | |
$logger = null | |
$tpl | |
$access | |
Private Attributes | |
$repository_object = null | |
$repository_gui = null | |
Base class for member tab content.
Definition at line 11 of file class.ilMembershipGUI.php.
ilMembershipGUI::__construct | ( | ilObjectGUI | $repository_gui, |
ilObject | $repository_obj | ||
) |
Constructor.
ilObject | $repository_obj |
Definition at line 53 of file class.ilMembershipGUI.php.
References $GLOBALS, $repository_gui, ilLoggerFactory\getLogger(), and getParentObject().
ilMembershipGUI::addMemberTab | ( | ilTabsGUI | $tabs, |
$a_is_participant = false |
|||
) |
add member tab
ilTabsGUI | $tabs |
Definition at line 963 of file class.ilMembershipGUI.php.
References $GLOBALS, ilTabsGUI\addTab(), array, checkRbacOrPositionAccessBool(), and getParentObject().
|
protected |
Add selected users to user clipboard.
Definition at line 1474 of file class.ilMembershipGUI.php.
References $_POST, $GLOBALS, $users, array, ilUserClipboard\getInstance(), ilUtil\sendFailure(), and ilUtil\sendSuccess().
ilMembershipGUI::assignFromWaitingList | ( | ) |
Assign from waiting list type $rbacsystem.
Definition at line 1338 of file class.ilMembershipGUI.php.
References $_POST, array, ilObjectFactory\getInstanceByObjId(), getMembersObject(), getParentObject(), IL_CRS_MEMBER, IL_GRP_MEMBER, ilUtil\sendFailure(), ilUtil\sendSuccess(), ilSessionMembershipMailNotification\TYPE_ACCEPTED_SUBSCRIPTION_MEMBER, and ilGroupMembershipMailNotification\TYPE_ACCEPTED_SUBSCRIPTION_MEMBER.
ilMembershipGUI::assignSubscribers | ( | ) |
Do assignment of subscription request type $rbacsystem type $ilErr.
Definition at line 1233 of file class.ilMembershipGUI.php.
References $_POST, $ilErr, array, getMembersObject(), getParentObject(), ilUtil\sendFailure(), ilUtil\sendSuccess(), ilSessionMembershipMailNotification\TYPE_ACCEPTED_SUBSCRIPTION_MEMBER, and ilGroupMembershipMailNotification\TYPE_ACCEPTED_SUBSCRIPTION_MEMBER.
|
protected |
Check if current user is allowed to add / search users.
Definition at line 187 of file class.ilMembershipGUI.php.
References checkPermissionBool().
Referenced by showParticipantsToolbar().
|
protected |
Check permission If not granted redirect to parent gui.
string | $a_permission | |
string | $a_cmd |
Definition at line 159 of file class.ilMembershipGUI.php.
References checkPermissionBool(), getParentGUI(), and ilUtil\sendFailure().
Referenced by filterUserIdsByRbacOrPositionOfCurrentUser(), and printMembers().
|
protected |
Check permission.
type | $a_permission | |
type | $a_cmd | |
type | $a_type | |
type | $a_ref_id |
Definition at line 130 of file class.ilMembershipGUI.php.
References getParentObject().
Referenced by canAddOrSearchUsers(), checkPermission(), and confirmDeleteParticipants().
|
protected |
check rbac or position access
$a_rbac_perm | |
$a_pos_perm |
Definition at line 173 of file class.ilMembershipGUI.php.
References checkRbacOrPositionAccessBool(), getParentGUI(), and ilUtil\sendFailure().
Referenced by filterUserIdsByRbacOrPositionOfCurrentUser().
|
protected |
Check if rbac or position access is granted.
string | $a_rbac_perm | |
string | $a_pos_perm | |
int | $a_ref_id |
Definition at line 144 of file class.ilMembershipGUI.php.
References getParentObject().
Referenced by addMemberTab(), ilCourseMembershipGUI\assignMembers(), checkRbacOrPermissionAccess(), filterUserIdsByRbacOrPositionOfCurrentUser(), getDefaultCommand(), and setSubTabs().
ilMembershipGUI::confirmAssignFromWaitingList | ( | ) |
Assign from waiting list (confirmatoin)
Definition at line 1301 of file class.ilMembershipGUI.php.
References $_POST, $name, ilObjUser\_lookupName(), ilUtil\getImagePath(), and ilUtil\sendFailure().
ilMembershipGUI::confirmAssignSubscribers | ( | ) |
Show subscription confirmation.
Definition at line 1116 of file class.ilMembershipGUI.php.
References $_POST, $name, ilObjUser\_lookupName(), ilUtil\getImagePath(), and ilUtil\sendFailure().
|
protected |
Show confirmation screen for participants deletion.
Definition at line 608 of file class.ilMembershipGUI.php.
References $_POST, $GLOBALS, $ilUser, $name, ilObjUser\_lookupName(), array, checkPermissionBool(), ilUtil\getImagePath(), getMembersObject(), ilUtil\sendFailure(), and ilUtil\sendInfo().
ilMembershipGUI::confirmRefuseFromList | ( | ) |
Refuse from waiting list (confirmation)
Definition at line 1396 of file class.ilMembershipGUI.php.
References $_POST, $name, ilObjUser\_lookupName(), ilUtil\getImagePath(), and ilUtil\sendFailure().
ilMembershipGUI::confirmRefuseSubscribers | ( | ) |
Refuse subscriber confirmation.
Definition at line 1151 of file class.ilMembershipGUI.php.
References $_POST, $name, ilObjUser\_lookupName(), ilUtil\getImagePath(), and ilUtil\sendFailure().
ilMembershipGUI::createMailSignature | ( | ) |
Definition at line 932 of file class.ilMembershipGUI.php.
References getParentGUI().
Referenced by sendMailToSelectedUsers().
|
protected |
Definition at line 671 of file class.ilMembershipGUI.php.
References $_POST, $GLOBALS, $ilUser, array, getMembersObject(), getParentObject(), ilUtil\sendFailure(), ilUtil\sendSuccess(), and ilGroupMembershipMailNotification\TYPE_DISMISS_MEMBER.
|
protected |
Edit one participant.
Definition at line 458 of file class.ilMembershipGUI.php.
References array, editParticipants(), and getParentObject().
|
protected |
Edit participants.
array | $post_participants |
Definition at line 468 of file class.ilMembershipGUI.php.
References $_POST, $table, array, getMembersObject(), and ilUtil\sendFailure().
Referenced by editMember().
ilMembershipGUI::filterUserIdsByRbacOrPositionOfCurrentUser | ( | $a_user_ids | ) |
Filter user ids by access.
int[] | $a_usr_ids |
Definition at line 198 of file class.ilMembershipGUI.php.
References $GLOBALS, $ilErr, $ilUser, League\OAuth2\Client\Provider\$provider, $ret, $tabs, ilParticipants\_isParticipant(), array, checkPermission(), checkRbacOrPermissionAccess(), checkRbacOrPositionAccessBool(), getDefaultCommand(), ilParticipants\getInstance(), ilParticipants\getInstanceByObjId(), getLocalRoles(), getMembersObject(), getParentGUI(), getParentObject(), ilCourseConstants\MAIL_ALLOWED_ALL, object, setSubTabs(), showMailToMemberToolbarButton(), and showMemberExportToolbarButton().
Referenced by parseSubscriberTable(), parseWaitingListTable(), and printMembersOutput().
|
protected |
Definition at line 78 of file class.ilMembershipGUI.php.
References $ctrl.
Referenced by ilSessionMembershipGUI\updateMembers().
|
protected |
Get default command.
Definition at line 941 of file class.ilMembershipGUI.php.
References checkRbacOrPositionAccessBool(), and getParentObject().
Referenced by filterUserIdsByRbacOrPositionOfCurrentUser().
|
protected |
Definition at line 1494 of file class.ilMembershipGUI.php.
References $GLOBALS, and $tabs.
Referenced by showParticipantsToolbar().
|
protected |
Definition at line 70 of file class.ilMembershipGUI.php.
References $lng.
Referenced by ilSessionMembershipGUI\updateMembers().
ilMembershipGUI::getLocalRoles | ( | ) |
Get parent roles.
Definition at line 1089 of file class.ilMembershipGUI.php.
References getParentGUI().
Referenced by filterUserIdsByRbacOrPositionOfCurrentUser().
|
protected |
Definition at line 86 of file class.ilMembershipGUI.php.
References $logger.
Referenced by ilSessionMembershipGUI\updateMembers().
ilMembershipGUI::getMembersObject | ( | ) |
Get member object.
Definition at line 114 of file class.ilMembershipGUI.php.
References ilParticipants\getInstanceByObjId(), getParentObject(), and participants().
Referenced by assignFromWaitingList(), ilGroupMembershipGUI\assignMembers(), ilCourseMembershipGUI\assignMembers(), assignSubscribers(), confirmDeleteParticipants(), ilSessionMembershipGUI\deleteParticipants(), deleteParticipants(), editParticipants(), filterUserIdsByRbacOrPositionOfCurrentUser(), ilSessionMembershipGUI\getAttendanceListUserData(), ilCourseMembershipGUI\getPrintMemberData(), jump2UsersGallery(), parseSubscriberTable(), printForMembersOutput(), printMembersOutput(), refuseFromList(), refuseSubscribers(), updateParticipants(), ilGroupMembershipGUI\updateParticipantsStatus(), and ilCourseMembershipGUI\updateParticipantsStatus().
ilMembershipGUI::getParentGUI | ( | ) |
Get parent gui.
Definition at line 96 of file class.ilMembershipGUI.php.
References $repository_gui.
Referenced by checkPermission(), checkRbacOrPermissionAccess(), createMailSignature(), ilCourseMembershipGUI\deliverCertificate(), filterUserIdsByRbacOrPositionOfCurrentUser(), ilGroupMembershipGUI\getDefaultRole(), ilCourseMembershipGUI\getDefaultRole(), getLocalRoles(), ilGroupMembershipGUI\getPrintMemberData(), ilGroupMembershipGUI\initEditParticipantTableGUI(), ilCourseMembershipGUI\initEditParticipantTableGUI(), readMemberData(), showParticipantsToolbar(), and ilCourseMembershipGUI\updateLPFromStatus().
ilMembershipGUI::getParentObject | ( | ) |
Get parent object.
Definition at line 105 of file class.ilMembershipGUI.php.
References $repository_object.
Referenced by __construct(), addMemberTab(), assignFromWaitingList(), ilGroupMembershipGUI\assignMembers(), ilCourseMembershipGUI\assignMembers(), assignSubscribers(), checkPermissionBool(), ilSessionMembershipGUI\checkRbacOrPositionAccessBool(), checkRbacOrPositionAccessBool(), ilSessionMembershipGUI\deleteParticipants(), deleteParticipants(), editMember(), ilGroupMembershipGUI\filterUserIdsByRbacOrPositionOfCurrentUser(), ilCourseMembershipGUI\filterUserIdsByRbacOrPositionOfCurrentUser(), filterUserIdsByRbacOrPositionOfCurrentUser(), getDefaultCommand(), ilGroupMembershipGUI\getLocalTypeRole(), ilCourseMembershipGUI\getLocalTypeRole(), getMembersObject(), ilCourseMembershipGUI\getPrintMemberData(), ilGroupMembershipGUI\initEditParticipantTableGUI(), ilCourseMembershipGUI\initEditParticipantTableGUI(), ilSessionMembershipGUI\initParticipantTableGUI(), ilGroupMembershipGUI\initParticipantTableGUI(), ilCourseMembershipGUI\initParticipantTableGUI(), ilSessionMembershipGUI\initWaitingList(), ilGroupMembershipGUI\initWaitingList(), ilCourseMembershipGUI\initWaitingList(), jump2UsersGallery(), membersMap(), parseSubscriberTable(), parseWaitingListTable(), participants(), printForMembersOutput(), refuseFromList(), refuseSubscribers(), sendMailToSelectedUsers(), setSubTabs(), showMailToMemberToolbarButton(), showMemberExportToolbarButton(), ilSessionMembershipGUI\updateMembers(), and updateParticipants().
|
protected |
Definition at line 1578 of file class.ilMembershipGUI.php.
References $DIC, $list, ilObjUserTracking\_enabledLearningProgress(), ilObjUserTracking\_enabledUserRelatedData(), ilPrivacySettings\_getInstance(), ilObjectLP\getInstance(), ilParticipants\getInstance(), getMembersObject(), and getParentObject().
|
protected |
Mail to members view type $ilToolbar.
Definition at line 813 of file class.ilMembershipGUI.php.
References $GLOBALS, and showMailToMemberToolbarButton().
|
protected |
Members map.
Definition at line 779 of file class.ilMembershipGUI.php.
References $tpl, array, ilParticipants\getInstanceByObjId(), ilMapUtil\getMapGUI(), getParentObject(), and ilMapUtil\isActivated().
|
protected |
Parse table of subscription request.
Definition at line 1097 of file class.ilMembershipGUI.php.
References filterUserIdsByRbacOrPositionOfCurrentUser(), getMembersObject(), and getParentObject().
Referenced by participants().
|
protected |
Parse table of subscription request.
Definition at line 1277 of file class.ilMembershipGUI.php.
References filterUserIdsByRbacOrPositionOfCurrentUser(), and getParentObject().
Referenced by participants().
|
protected |
Show participant table, subscriber table, wating list table;.
Definition at line 397 of file class.ilMembershipGUI.php.
References $table, getParentObject(), parseSubscriberTable(), parseWaitingListTable(), and showParticipantsToolbar().
Referenced by getMembersObject(), ilSessionMembershipGUI\jump2UsersGallery(), participantsApplyFilter(), and participantsResetFilter().
|
protected |
Apply filter for participant table.
Definition at line 431 of file class.ilMembershipGUI.php.
References $table, and participants().
|
protected |
reset participants filter
Definition at line 443 of file class.ilMembershipGUI.php.
References $_POST, $table, ilLoggerFactory\getLogger(), and participants().
|
protected |
print members output
Definition at line 1560 of file class.ilMembershipGUI.php.
References $form, $list, array, exit, getMembersObject(), and getParentObject().
|
protected |
Print members.
Definition at line 1518 of file class.ilMembershipGUI.php.
References $DIC, $form, $list, and checkPermission().
|
protected |
print members output
Definition at line 1540 of file class.ilMembershipGUI.php.
References $list, array, exit, filterUserIdsByRbacOrPositionOfCurrentUser(), and getMembersObject().
Required for member table guis.
Has to be refactored and should be locate in ilObjCourse, ilObjGroup instead of GUI
Definition at line 1080 of file class.ilMembershipGUI.php.
References getParentGUI().
Referenced by ilGroupMembershipGUI\getPrintMemberData(), ilGroupMembershipGUI\initEditParticipantTableGUI(), and ilCourseMembershipGUI\initEditParticipantTableGUI().
|
protected |
refuse from waiting list
public
Definition at line 1435 of file class.ilMembershipGUI.php.
References $_POST, array, getMembersObject(), getParentObject(), ilUtil\sendFailure(), ilUtil\sendSuccess(), ilSessionMembershipMailNotification\TYPE_REFUSED_SUBSCRIPTION_MEMBER, and ilGroupMembershipMailNotification\TYPE_REFUSED_SUBSCRIPTION_MEMBER.
|
protected |
Refuse subscribers type $rbacsystem.
Definition at line 1189 of file class.ilMembershipGUI.php.
References $_POST, $GLOBALS, array, getMembersObject(), getParentObject(), ilUtil\sendFailure(), ilUtil\sendSuccess(), ilSessionMembershipMailNotification\TYPE_REFUSED_SUBSCRIPTION_MEMBER, and ilGroupMembershipMailNotification\TYPE_REFUSED_SUBSCRIPTION_MEMBER.
|
protected |
Send mail to selected users.
Definition at line 724 of file class.ilMembershipGUI.php.
References $_GET, $_POST, ilObjUser\_lookupLogin(), array, ilMailFormCall\CONTEXT_KEY, createMailSignature(), getParentObject(), ilMailFormCall\getRedirectTarget(), ilCourseMailTemplateTutorContext\ID, ilUtil\redirect(), ilUtil\sendFailure(), ilMailFormCall\setRecipients(), and time.
|
protected |
Set sub tabs.
Definition at line 1006 of file class.ilMembershipGUI.php.
References $GLOBALS, ilPrivacySettings\_getInstance(), ilTabsGUI\addSubTabTarget(), array, checkRbacOrPositionAccessBool(), getParentObject(), and ilMapUtil\isActivated().
Referenced by filterUserIdsByRbacOrPositionOfCurrentUser().
|
protected |
Show mail to member toolbar button.
Definition at line 900 of file class.ilMembershipGUI.php.
References $ilUser, ilToolbarGUI\addButton(), ilToolbarGUI\addSeparator(), and getParentObject().
Referenced by filterUserIdsByRbacOrPositionOfCurrentUser(), mailMembersBtn(), and showParticipantsToolbar().
|
protected |
Show member export button.
ilToolbarGUI | $toolbar | |
type | $a_back_cmd | |
type | $a_separator |
Definition at line 874 of file class.ilMembershipGUI.php.
References ilToolbarGUI\addButton(), ilToolbarGUI\addSeparator(), and getParentObject().
Referenced by filterUserIdsByRbacOrPositionOfCurrentUser().
|
protected |
Show participants toolbar.
Definition at line 826 of file class.ilMembershipGUI.php.
References array, canAddOrSearchUsers(), ilRepositorySearchGUI\fillAutoCompleteToolbar(), getDefaultRole(), getParentGUI(), and showMailToMemberToolbarButton().
Referenced by participants().
ilMembershipGUI::updateParticipants | ( | ) |
update members
public
Definition at line 493 of file class.ilMembershipGUI.php.
References $_POST, $ilUser, $title, array, getMembersObject(), getParentObject(), ilUtil\sendFailure(), and ilUtil\sendSuccess().
|
protected |
Definition at line 46 of file class.ilMembershipGUI.php.
|
protected |
Definition at line 31 of file class.ilMembershipGUI.php.
Referenced by getCtrl().
|
protected |
Definition at line 26 of file class.ilMembershipGUI.php.
Referenced by getLanguage(), and ilCourseMembershipGUI\getPrintMemberData().
|
protected |
Definition at line 36 of file class.ilMembershipGUI.php.
Referenced by getLogger().
|
private |
Definition at line 21 of file class.ilMembershipGUI.php.
Referenced by __construct(), and getParentGUI().
|
private |
Definition at line 16 of file class.ilMembershipGUI.php.
Referenced by getParentObject().
|
protected |
Definition at line 41 of file class.ilMembershipGUI.php.
Referenced by membersMap().