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 @global type $rbacsystem @global type $ilErr. More... | |
confirmAssignFromWaitingList () | |
Assign from waiting list (confirmatoin) More... | |
assignFromWaitingList () | |
Assign from waiting list @global 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 @global 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 @global 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, $tabs, 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 @global 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(), ilGroupMembershipMailNotification\TYPE_ACCEPTED_SUBSCRIPTION_MEMBER, and ilSessionMembershipMailNotification\TYPE_ACCEPTED_SUBSCRIPTION_MEMBER.
ilMembershipGUI::assignSubscribers | ( | ) |
Do assignment of subscription request @global type $rbacsystem @global type $ilErr.
Definition at line 1301 of file class.ilMembershipGUI.php.
References $_POST, $DIC, $ilErr, assignSubscribers(), getMembersObject(), getParentObject(), ilUtil\sendFailure(), ilGroupMembershipMailNotification\TYPE_ACCEPTED_SUBSCRIPTION_MEMBER, and ilSessionMembershipMailNotification\TYPE_ACCEPTED_SUBSCRIPTION_MEMBER.
Referenced by assignSubscribers().
|
protected |
Check if current user is allowed to add / search users.
Reimplemented in ilSessionMembershipGUI.
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(), 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().
|
protected |
Check if rbac or position access is granted.
string | $a_rbac_perm | |
string | $a_pos_perm | |
int | $a_ref_id |
Reimplemented in ilSessionMembershipGUI.
Definition at line 153 of file class.ilMembershipGUI.php.
References getParentObject().
Referenced by addMemberTab(), ilCourseMembershipGUI\assignMembers(), checkRbacOrPermissionAccess(), 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.
Reimplemented in ilSessionMembershipGUI.
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 |
Reimplemented in ilSessionMembershipGUI.
Definition at line 689 of file class.ilMembershipGUI.php.
References $_POST, $DIC, $GLOBALS, $ilUser, deleteParticipants(), getMembersObject(), getParentObject(), ilUtil\sendFailure(), ilGroupMembershipMailNotification\TYPE_DISMISS_MEMBER, and ilLearningSequenceMembershipMailNotification\TYPE_DISMISS_MEMBER.
Referenced by deleteParticipants().
|
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 |
Reimplemented in ilCourseMembershipGUI, ilGroupMembershipGUI, and ilLearningSequenceMembershipGUI.
Definition at line 207 of file class.ilMembershipGUI.php.
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.
Reimplemented in ilLearningSequenceMembershipGUI.
Definition at line 976 of file class.ilMembershipGUI.php.
References checkRbacOrPositionAccessBool(), and getParentObject().
|
protected |
Reimplemented in ilCourseMembershipGUI, ilGroupMembershipGUI, and ilLearningSequenceMembershipGUI.
Definition at line 1564 of file class.ilMembershipGUI.php.
|
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().
|
protected |
Definition at line 88 of file class.ilMembershipGUI.php.
References $logger.
|
protected |
Get mail context options.
Reimplemented in ilCourseMembershipGUI, and ilSessionMembershipGUI.
Definition at line 794 of file class.ilMembershipGUI.php.
Referenced by sendMailToSelectedUsers().
|
protected |
Reimplemented in ilCourseMembershipGUI, ilGroupMembershipGUI, ilLearningSequenceMembershipGUI, and ilSessionMembershipGUI.
Definition at line 127 of file class.ilMembershipGUI.php.
ilMembershipGUI::getMembersObject | ( | ) |
Get member object.
Reimplemented in ilLearningSequenceMembershipGUI.
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(), ilSessionMembershipGUI\getAttendanceListUserData(), ilCourseMembershipGUI\getPrintMemberData(), parseSubscriberTable(), printForMembersOutput(), printMembersOutput(), refuseFromList(), refuseSubscribers(), updateParticipants(), ilCourseMembershipGUI\updateParticipantsStatus(), and ilGroupMembershipGUI\updateParticipantsStatus().
|
protected |
Get member tab name.
Reimplemented in ilSessionMembershipGUI.
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(), ilCourseMembershipGUI\getDefaultRole(), ilGroupMembershipGUI\getDefaultRole(), getLocalRoles(), ilGroupMembershipGUI\getPrintMemberData(), ilLearningSequenceMembershipGUI\getPrintMemberData(), ilCourseMembershipGUI\initEditParticipantTableGUI(), ilGroupMembershipGUI\initEditParticipantTableGUI(), readMemberData(), ilLearningSequenceMembershipGUI\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(), getDefaultCommand(), ilLearningSequenceMembershipGUI\getDefaultRole(), ilCourseMembershipGUI\getLocalTypeRole(), ilGroupMembershipGUI\getLocalTypeRole(), ilLearningSequenceMembershipGUI\getLocalTypeRole(), ilCourseMembershipGUI\getMailContextOptions(), ilSessionMembershipGUI\getMailContextOptions(), ilLearningSequenceMembershipGUI\getMembersObject(), getMembersObject(), ilSessionMembershipGUI\getMemberTabName(), ilCourseMembershipGUI\getPrintMemberData(), ilCourseMembershipGUI\initEditParticipantTableGUI(), ilGroupMembershipGUI\initEditParticipantTableGUI(), ilLearningSequenceMembershipGUI\initEditParticipantTableGUI(), ilCourseMembershipGUI\initParticipantTableGUI(), ilGroupMembershipGUI\initParticipantTableGUI(), ilLearningSequenceMembershipGUI\initParticipantTableGUI(), ilSessionMembershipGUI\initParticipantTableGUI(), ilSessionMembershipGUI\initSubscriberTable(), initSubscriberTable(), ilCourseMembershipGUI\initWaitingList(), ilGroupMembershipGUI\initWaitingList(), ilLearningSequenceMembershipGUI\initWaitingList(), ilSessionMembershipGUI\initWaitingList(), membersMap(), parseWaitingListTable(), participants(), ilLearningSequenceMembershipGUI\readMemberData(), refuseFromList(), refuseSubscribers(), ilLearningSequenceMembershipGUI\setSubTabs(), setSubTabs(), showMailToMemberToolbarButton(), showMemberExportToolbarButton(), ilSessionMembershipGUI\updateMembers(), updateParticipants(), and ilLearningSequenceMembershipGUI\updateParticipantsStatus().
|
protected |
Reimplemented in ilSessionMembershipGUI.
Definition at line 1165 of file class.ilMembershipGUI.php.
References getParentObject().
Referenced by parseSubscriberTable().
|
protected |
Definition at line 1649 of file class.ilMembershipGUI.php.
|
protected |
Mail to members view @global 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 ilLearningSequenceMembershipGUI\getMembersObject(), 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, and getMembersObject().
|
protected |
Print members.
Reimplemented in ilLearningSequenceMembershipGUI.
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
Reimplemented in ilLearningSequenceMembershipGUI.
Definition at line 1131 of file class.ilMembershipGUI.php.
References $columns, and getParentGUI().
Referenced by ilGroupMembershipGUI\getPrintMemberData(), ilCourseMembershipGUI\initEditParticipantTableGUI(), and ilGroupMembershipGUI\initEditParticipantTableGUI().
|
protected |
refuse from waiting list
@access public
Definition at line 1505 of file class.ilMembershipGUI.php.
References $_POST, getMembersObject(), getParentObject(), ilUtil\sendFailure(), ilGroupMembershipMailNotification\TYPE_REFUSED_SUBSCRIPTION_MEMBER, and ilSessionMembershipMailNotification\TYPE_REFUSED_SUBSCRIPTION_MEMBER.
|
protected |
Refuse subscribers @global type $rbacsystem.
Definition at line 1249 of file class.ilMembershipGUI.php.
References $_POST, $DIC, $GLOBALS, getMembersObject(), getParentObject(), ilUtil\sendFailure(), ilGroupMembershipMailNotification\TYPE_REFUSED_SUBSCRIPTION_MEMBER, ilLearningSequenceMembershipMailNotification\TYPE_REFUSED_SUBSCRIPTION_MEMBER, and ilSessionMembershipMailNotification\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.
Reimplemented in ilLearningSequenceMembershipGUI.
Definition at line 1054 of file class.ilMembershipGUI.php.
References $DIC, $tabs, $tree, ilPrivacySettings\_getInstance(), checkRbacOrPositionAccessBool(), getParentObject(), and ilMapUtil\isActivated().
|
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 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().
|
protected |
Show participants toolbar.
Reimplemented in ilLearningSequenceMembershipGUI.
Definition at line 855 of file class.ilMembershipGUI.php.
References $DIC, canAddOrSearchUsers(), ilRepositorySearchGUI\fillAutoCompleteToolbar(), and showMailToMemberToolbarButton().
Referenced by participants().
ilMembershipGUI::updateParticipants | ( | ) |
update members
@access public
return
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(), ilLearningSequenceMembershipGUI\__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().