ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
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 () | |
getMailMemberRoles () | |
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... | |
getMailContextOptions () | |
Get mail context options. 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... | |
getMemberTabName () | |
Get member tab name. More... | |
setSubTabs (ilTabsGUI $tabs) | |
Set sub tabs. More... | |
parseSubscriberTable () | |
Parse table of subscription request. More... | |
initSubscriberTable () | |
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 $DIC, $GLOBALS, $repository_gui, and getParentObject().
ilMembershipGUI::addMemberTab | ( | ilTabsGUI | $tabs, |
$a_is_participant = false |
|||
) |
add member tab
ilTabsGUI | $tabs |
Definition at line 998 of file class.ilMembershipGUI.php.
References $DIC, $GLOBALS, ilTabsGUI\addTab(), checkRbacOrPositionAccessBool(), getMemberTabName(), and getParentObject().
|
protected |
Add selected users to user clipboard.
Definition at line 1544 of file class.ilMembershipGUI.php.
References $_POST, $GLOBALS, $users, ilUserClipboard\getInstance(), and ilUtil\sendFailure().
ilMembershipGUI::assignFromWaitingList | ( | ) |
Assign from waiting list type $rbacsystem.
Definition at line 1408 of file class.ilMembershipGUI.php.
References $_POST, ilObjectFactory\getInstanceByObjId(), getMembersObject(), getParentObject(), IL_CRS_MEMBER, IL_GRP_MEMBER, ilUtil\sendFailure(), 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 1301 of file class.ilMembershipGUI.php.
References $_POST, $DIC, $ilErr, getMembersObject(), getParentObject(), ilUtil\sendFailure(), 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 196 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 168 of file class.ilMembershipGUI.php.
References checkPermissionBool(), getParentGUI(), and ilUtil\sendFailure().
Referenced by ilSessionMembershipGUI\deleteParticipants(), filterUserIdsByRbacOrPositionOfCurrentUser(), ilLearningSequenceMembershipGUI\printMembers(), printMembers(), and ilSessionMembershipGUI\updateMembers().
|
protected |
Check permission.
type | $a_permission | |
type | $a_cmd | |
type | $a_type | |
type | $a_ref_id |
Definition at line 139 of file class.ilMembershipGUI.php.
References getParentObject().
Referenced by canAddOrSearchUsers(), checkPermission(), ilSessionMembershipGUI\checkRbacOrPositionAccessBool(), and confirmDeleteParticipants().
|
protected |
check rbac or position access
$a_rbac_perm | |
$a_pos_perm |
Definition at line 182 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 153 of file class.ilMembershipGUI.php.
References getParentObject().
Referenced by addMemberTab(), ilCourseMembershipGUI\assignMembers(), checkRbacOrPermissionAccess(), filterUserIdsByRbacOrPositionOfCurrentUser(), getDefaultCommand(), ilLearningSequenceMembershipGUI\printMembers(), ilLearningSequenceMembershipGUI\setSubTabs(), and setSubTabs().
ilMembershipGUI::confirmAssignFromWaitingList | ( | ) |
Assign from waiting list (confirmatoin)
Definition at line 1371 of file class.ilMembershipGUI.php.
References $_POST, $name, ilObjUser\_lookupName(), ilUtil\getImagePath(), and ilUtil\sendFailure().
ilMembershipGUI::confirmAssignSubscribers | ( | ) |
Show subscription confirmation.
Definition at line 1176 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 623 of file class.ilMembershipGUI.php.
References $_POST, $DIC, $GLOBALS, $ilUser, $name, ilObjUser\_lookupName(), checkPermissionBool(), ilUtil\getImagePath(), getMembersObject(), ilUtil\sendFailure(), and ilUtil\sendInfo().
ilMembershipGUI::confirmRefuseFromList | ( | ) |
Refuse from waiting list (confirmation)
Definition at line 1466 of file class.ilMembershipGUI.php.
References $_POST, $name, ilObjUser\_lookupName(), ilUtil\getImagePath(), and ilUtil\sendFailure().
ilMembershipGUI::confirmRefuseSubscribers | ( | ) |
Refuse subscriber confirmation.
Definition at line 1211 of file class.ilMembershipGUI.php.
References $_POST, $name, ilObjUser\_lookupName(), ilUtil\getImagePath(), and ilUtil\sendFailure().
ilMembershipGUI::createMailSignature | ( | ) |
Definition at line 967 of file class.ilMembershipGUI.php.
References getParentGUI().
Referenced by sendMailToSelectedUsers().
|
protected |
Definition at line 689 of file class.ilMembershipGUI.php.
References $_POST, $DIC, $GLOBALS, $ilUser, getMembersObject(), getParentObject(), ilUtil\sendFailure(), ilLearningSequenceMembershipMailNotification\TYPE_DISMISS_MEMBER, and ilGroupMembershipMailNotification\TYPE_DISMISS_MEMBER.
|
protected |
Edit one participant.
Definition at line 459 of file class.ilMembershipGUI.php.
References editParticipants(), and getParentObject().
|
protected |
Edit participants.
array | $post_participants |
Definition at line 469 of file class.ilMembershipGUI.php.
References $_POST, $table, getMembersObject(), and ilUtil\sendFailure().
Referenced by editMember().
ilMembershipGUI::filterUserIdsByRbacOrPositionOfCurrentUser | ( | $a_user_ids | ) |
Filter user ids by access.
int[] | $a_usr_ids |
Definition at line 207 of file class.ilMembershipGUI.php.
References $DIC, $GLOBALS, $ilErr, $ilUser, PHPMailer\PHPMailer\$provider, $ret, $tabs, ilParticipants\_isParticipant(), checkPermission(), checkRbacOrPermissionAccess(), checkRbacOrPositionAccessBool(), getDefaultCommand(), ilParticipants\getInstance(), getLocalRoles(), getMailMemberRoles(), getMembersObject(), getParentGUI(), getParentObject(), ilCourseConstants\MAIL_ALLOWED_ALL, setSubTabs(), showMailToMemberToolbarButton(), and showMemberExportToolbarButton().
Referenced by parseSubscriberTable(), parseWaitingListTable(), and printMembersOutput().
|
protected |
Definition at line 80 of file class.ilMembershipGUI.php.
References $ctrl.
Referenced by ilSessionMembershipGUI\updateMembers().
|
protected |
Get default command.
Definition at line 976 of file class.ilMembershipGUI.php.
References checkRbacOrPositionAccessBool(), and getParentObject().
Referenced by filterUserIdsByRbacOrPositionOfCurrentUser().
|
protected |
Definition at line 1564 of file class.ilMembershipGUI.php.
References $GLOBALS, and $tabs.
Referenced by showParticipantsToolbar().
|
protected |
Definition at line 72 of file class.ilMembershipGUI.php.
References $lng.
Referenced by ilSessionMembershipGUI\updateMembers().
ilMembershipGUI::getLocalRoles | ( | ) |
Get parent roles.
Definition at line 1140 of file class.ilMembershipGUI.php.
References getParentGUI().
Referenced by filterUserIdsByRbacOrPositionOfCurrentUser().
|
protected |
|
protected |
Get mail context options.
Definition at line 794 of file class.ilMembershipGUI.php.
Referenced by sendMailToSelectedUsers().
|
protected |
Definition at line 127 of file class.ilMembershipGUI.php.
Referenced by filterUserIdsByRbacOrPositionOfCurrentUser().
ilMembershipGUI::getMembersObject | ( | ) |
Get member object.
Definition at line 116 of file class.ilMembershipGUI.php.
References ilParticipants\getInstance(), 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().
|
protected |
Get member tab name.
Definition at line 1046 of file class.ilMembershipGUI.php.
Referenced by addMemberTab().
ilMembershipGUI::getParentGUI | ( | ) |
Get parent gui.
Definition at line 98 of file class.ilMembershipGUI.php.
References $repository_gui.
Referenced by checkPermission(), checkRbacOrPermissionAccess(), createMailSignature(), ilCourseMembershipGUI\deliverCertificate(), filterUserIdsByRbacOrPositionOfCurrentUser(), ilGroupMembershipGUI\getDefaultRole(), ilCourseMembershipGUI\getDefaultRole(), getLocalRoles(), ilGroupMembershipGUI\getPrintMemberData(), ilLearningSequenceMembershipGUI\getPrintMemberData(), ilGroupMembershipGUI\initEditParticipantTableGUI(), ilCourseMembershipGUI\initEditParticipantTableGUI(), readMemberData(), ilLearningSequenceMembershipGUI\showParticipantsToolbar(), showParticipantsToolbar(), and ilCourseMembershipGUI\updateLPFromStatus().
ilMembershipGUI::getParentObject | ( | ) |
Get parent object.
Definition at line 107 of file class.ilMembershipGUI.php.
References $repository_object.
Referenced by __construct(), addMemberTab(), assignFromWaitingList(), ilGroupMembershipGUI\assignMembers(), ilCourseMembershipGUI\assignMembers(), ilLearningSequenceMembershipGUI\assignMembers(), assignSubscribers(), checkPermissionBool(), ilSessionMembershipGUI\checkRbacOrPositionAccessBool(), checkRbacOrPositionAccessBool(), ilSessionMembershipGUI\deleteParticipants(), deleteParticipants(), editMember(), ilCourseMembershipGUI\filterUserIdsByRbacOrPositionOfCurrentUser(), ilGroupMembershipGUI\filterUserIdsByRbacOrPositionOfCurrentUser(), ilLearningSequenceMembershipGUI\filterUserIdsByRbacOrPositionOfCurrentUser(), filterUserIdsByRbacOrPositionOfCurrentUser(), getDefaultCommand(), ilLearningSequenceMembershipGUI\getDefaultRole(), ilGroupMembershipGUI\getLocalTypeRole(), ilLearningSequenceMembershipGUI\getLocalTypeRole(), ilCourseMembershipGUI\getLocalTypeRole(), ilCourseMembershipGUI\getMailContextOptions(), ilSessionMembershipGUI\getMailContextOptions(), getMembersObject(), ilLearningSequenceMembershipGUI\getMembersObject(), ilSessionMembershipGUI\getMemberTabName(), ilCourseMembershipGUI\getPrintMemberData(), ilGroupMembershipGUI\initEditParticipantTableGUI(), ilLearningSequenceMembershipGUI\initEditParticipantTableGUI(), ilCourseMembershipGUI\initEditParticipantTableGUI(), ilSessionMembershipGUI\initParticipantTableGUI(), ilGroupMembershipGUI\initParticipantTableGUI(), ilLearningSequenceMembershipGUI\initParticipantTableGUI(), ilCourseMembershipGUI\initParticipantTableGUI(), ilSessionMembershipGUI\initSubscriberTable(), initSubscriberTable(), ilSessionMembershipGUI\initWaitingList(), ilGroupMembershipGUI\initWaitingList(), ilLearningSequenceMembershipGUI\initWaitingList(), ilCourseMembershipGUI\initWaitingList(), jump2UsersGallery(), membersMap(), parseWaitingListTable(), participants(), printForMembersOutput(), ilLearningSequenceMembershipGUI\readMemberData(), refuseFromList(), refuseSubscribers(), ilLearningSequenceMembershipGUI\setSubTabs(), setSubTabs(), showMailToMemberToolbarButton(), showMemberExportToolbarButton(), ilSessionMembershipGUI\updateMembers(), updateParticipants(), and ilLearningSequenceMembershipGUI\updateParticipantsStatus().
|
protected |
Definition at line 1165 of file class.ilMembershipGUI.php.
References getParentObject().
Referenced by parseSubscriberTable().
|
protected |
Definition at line 1649 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 840 of file class.ilMembershipGUI.php.
References $DIC, $GLOBALS, and showMailToMemberToolbarButton().
|
protected |
Members map.
Definition at line 804 of file class.ilMembershipGUI.php.
References $DIC, $map, $tpl, ilParticipants\getInstanceByObjId(), ilMapUtil\getMapGUI(), getParentObject(), and ilMapUtil\isActivated().
|
protected |
Parse table of subscription request.
Definition at line 1148 of file class.ilMembershipGUI.php.
References filterUserIdsByRbacOrPositionOfCurrentUser(), getMembersObject(), and initSubscriberTable().
Referenced by participants().
|
protected |
Parse table of subscription request.
Definition at line 1347 of file class.ilMembershipGUI.php.
References filterUserIdsByRbacOrPositionOfCurrentUser(), and getParentObject().
Referenced by participants().
|
protected |
Show participant table, subscriber table, wating list table;.
Definition at line 400 of file class.ilMembershipGUI.php.
References $table, getParentObject(), parseSubscriberTable(), parseWaitingListTable(), and showParticipantsToolbar().
Referenced by getMembersObject(), ilLearningSequenceMembershipGUI\getMembersObject(), participantsApplyFilter(), and participantsResetFilter().
|
protected |
Apply filter for participant table.
Definition at line 434 of file class.ilMembershipGUI.php.
References $table, and participants().
|
protected |
reset participants filter
Definition at line 446 of file class.ilMembershipGUI.php.
References $table, and participants().
|
protected |
print members output
Definition at line 1631 of file class.ilMembershipGUI.php.
References $form, $list, exit, getMembersObject(), and getParentObject().
|
protected |
Print members.
Definition at line 1588 of file class.ilMembershipGUI.php.
References $DIC, $form, $list, and checkPermission().
|
protected |
print members output
Definition at line 1611 of file class.ilMembershipGUI.php.
References $list, exit, filterUserIdsByRbacOrPositionOfCurrentUser(), and getMembersObject().
ilMembershipGUI::readMemberData | ( | array | $usr_ids, |
array | $columns | ||
) |
Required for member table guis.
Has to be refactored and should be locate in ilObjCourse, ilObjGroup instead of GUI
Definition at line 1131 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 1505 of file class.ilMembershipGUI.php.
References $_POST, getMembersObject(), getParentObject(), ilUtil\sendFailure(), ilSessionMembershipMailNotification\TYPE_REFUSED_SUBSCRIPTION_MEMBER, and ilGroupMembershipMailNotification\TYPE_REFUSED_SUBSCRIPTION_MEMBER.
|
protected |
Refuse subscribers type $rbacsystem.
Definition at line 1249 of file class.ilMembershipGUI.php.
References $_POST, $DIC, $GLOBALS, getMembersObject(), getParentObject(), ilUtil\sendFailure(), ilLearningSequenceMembershipMailNotification\TYPE_REFUSED_SUBSCRIPTION_MEMBER, ilSessionMembershipMailNotification\TYPE_REFUSED_SUBSCRIPTION_MEMBER, and ilGroupMembershipMailNotification\TYPE_REFUSED_SUBSCRIPTION_MEMBER.
|
protected |
Send mail to selected users.
Definition at line 750 of file class.ilMembershipGUI.php.
References $_GET, $_POST, ilObjUser\_lookupLogin(), createMailSignature(), getMailContextOptions(), ilMailFormCall\getRedirectTarget(), ilUtil\redirect(), ilUtil\sendFailure(), and ilMailFormCall\setRecipients().
|
protected |
Set sub tabs.
Definition at line 1054 of file class.ilMembershipGUI.php.
References $DIC, $tree, ilPrivacySettings\_getInstance(), ilTabsGUI\addSubTabTarget(), checkRbacOrPositionAccessBool(), getParentObject(), and ilMapUtil\isActivated().
Referenced by filterUserIdsByRbacOrPositionOfCurrentUser().
|
protected |
Show mail to member toolbar button.
Definition at line 931 of file class.ilMembershipGUI.php.
References $DIC, $ilUser, ilToolbarGUI\addButton(), ilToolbarGUI\addSeparator(), and getParentObject().
Referenced by filterUserIdsByRbacOrPositionOfCurrentUser(), mailMembersBtn(), ilLearningSequenceMembershipGUI\showParticipantsToolbar(), and showParticipantsToolbar().
|
protected |
Show member export button.
ilToolbarGUI | $toolbar | |
type | $a_back_cmd | |
type | $a_separator |
Definition at line 905 of file class.ilMembershipGUI.php.
References ilToolbarGUI\addButton(), ilToolbarGUI\addSeparator(), and getParentObject().
Referenced by filterUserIdsByRbacOrPositionOfCurrentUser().
|
protected |
Show participants toolbar.
Definition at line 855 of file class.ilMembershipGUI.php.
References $DIC, canAddOrSearchUsers(), ilRepositorySearchGUI\fillAutoCompleteToolbar(), getDefaultRole(), getParentGUI(), and showMailToMemberToolbarButton().
Referenced by participants().
ilMembershipGUI::updateParticipants | ( | ) |
update members
public
Definition at line 494 of file class.ilMembershipGUI.php.
References $_POST, $DIC, $ilUser, $title, getMembersObject(), getParentObject(), and ilUtil\sendFailure().
|
protected |
Definition at line 46 of file class.ilMembershipGUI.php.
Referenced by ilLearningSequenceMembershipGUI\__construct(), and ilLearningSequenceMembershipGUI\setSubTabs().
|
protected |
Definition at line 31 of file class.ilMembershipGUI.php.
Referenced by ilLearningSequenceMembershipGUI\__construct(), and getCtrl().
|
protected |
Definition at line 26 of file class.ilMembershipGUI.php.
Referenced by ilLearningSequenceMembershipGUI\__construct(), 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().