ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
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... | |
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 | |
checkPermissionBool ($a_permission, $a_cmd='', $a_type='', $a_ref_id=0) | |
Check permission. 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... | |
showMailToMemberToolbarButton (ilToolbarGUI $toolbar, $a_back_cmd=null, $a_separator=false) | |
Show mail to member toolbar button. 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... | |
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 844 of file class.ilMembershipGUI.php.
References $GLOBALS, ilTabsGUI\addTab(), array, and getParentObject().
|
protected |
Add selected users to user clipboard.
Definition at line 1359 of file class.ilMembershipGUI.php.
References $_POST, $GLOBALS, array, ilUserClipboard\getInstance(), ilUtil\sendFailure(), and ilUtil\sendSuccess().
ilMembershipGUI::assignFromWaitingList | ( | ) |
Assign from waiting list type $rbacsystem.
Definition at line 1224 of file class.ilMembershipGUI.php.
References $_POST, ilObjectFactory\getInstanceByObjId(), getMembersObject(), getParentObject(), IL_CRS_MEMBER, IL_GRP_MEMBER, ilUtil\sendFailure(), ilUtil\sendSuccess(), and ilGroupMembershipMailNotification\TYPE_ACCEPTED_SUBSCRIPTION_MEMBER.
ilMembershipGUI::assignSubscribers | ( | ) |
Do assignment of subscription request type $rbacsystem type $ilErr.
Definition at line 1119 of file class.ilMembershipGUI.php.
References $_POST, $ilErr, getMembersObject(), getParentObject(), IL_GRP_MEMBER, ilUtil\sendFailure(), ilUtil\sendSuccess(), and ilGroupMembershipMailNotification\TYPE_ACCEPTED_SUBSCRIPTION_MEMBER.
|
protected |
Check permission.
type | $a_permission | |
type | $a_cmd | |
type | $a_type | |
type | $a_ref_id |
Definition at line 110 of file class.ilMembershipGUI.php.
References $cmd, $GLOBALS, $ilErr, $ilUser, League\OAuth2\Client\Provider\$provider, $ret, ilParticipants\_isParticipant(), array, ilParticipants\getInstanceByObjId(), getLocalRoles(), getMembersObject(), getParentGUI(), getParentObject(), ilCourseConstants\MAIL_ALLOWED_ALL, object, setSubTabs(), and showMailToMemberToolbarButton().
ilMembershipGUI::confirmAssignFromWaitingList | ( | ) |
Assign from waiting list (confirmatoin)
Definition at line 1187 of file class.ilMembershipGUI.php.
References $_POST, ilObjUser\_lookupName(), ilUtil\getImagePath(), and ilUtil\sendFailure().
ilMembershipGUI::confirmAssignSubscribers | ( | ) |
Show subscription confirmation.
Definition at line 1002 of file class.ilMembershipGUI.php.
References $_POST, ilObjUser\_lookupName(), ilUtil\getImagePath(), and ilUtil\sendFailure().
|
protected |
Show confirmation screen for participants deletion.
Definition at line 530 of file class.ilMembershipGUI.php.
References $_POST, $GLOBALS, $ilUser, ilObjUser\_lookupName(), array, ilUtil\getImagePath(), getMembersObject(), and ilUtil\sendFailure().
ilMembershipGUI::confirmRefuseFromList | ( | ) |
Refuse from waiting list (confirmation)
Definition at line 1282 of file class.ilMembershipGUI.php.
References $_POST, ilObjUser\_lookupName(), ilUtil\getImagePath(), and ilUtil\sendFailure().
ilMembershipGUI::confirmRefuseSubscribers | ( | ) |
Refuse subscriber confirmation.
Definition at line 1037 of file class.ilMembershipGUI.php.
References $_POST, ilObjUser\_lookupName(), ilUtil\getImagePath(), and ilUtil\sendFailure().
ilMembershipGUI::createMailSignature | ( | ) |
Definition at line 835 of file class.ilMembershipGUI.php.
References getParentGUI().
Referenced by sendMailToSelectedUsers().
|
protected |
Definition at line 589 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 361 of file class.ilMembershipGUI.php.
References array, editParticipants(), and getParentObject().
|
protected |
Edit participants.
array | $post_participants |
Definition at line 371 of file class.ilMembershipGUI.php.
References $_POST, array, getMembersObject(), and ilUtil\sendFailure().
Referenced by editMember().
|
protected |
Definition at line 1381 of file class.ilMembershipGUI.php.
References $GLOBALS, getParentGUI(), and ilUtil\sendFailure().
Referenced by showParticipantsToolbar().
ilMembershipGUI::getLocalRoles | ( | ) |
Get parent roles.
Definition at line 976 of file class.ilMembershipGUI.php.
References getParentGUI().
Referenced by checkPermissionBool().
ilMembershipGUI::getMembersObject | ( | ) |
Get member object.
Definition at line 93 of file class.ilMembershipGUI.php.
References ilParticipants\getInstanceByObjId(), getParentObject(), and participants().
Referenced by assignFromWaitingList(), ilGroupMembershipGUI\assignMembers(), ilCourseMembershipGUI\assignMembers(), assignSubscribers(), checkPermissionBool(), confirmDeleteParticipants(), deleteParticipants(), editParticipants(), ilCourseMembershipGUI\getPrintMemberData(), parseSubscriberTable(), printMembersOutput(), refuseFromList(), refuseSubscribers(), updateParticipants(), ilGroupMembershipGUI\updateParticipantsStatus(), and ilCourseMembershipGUI\updateParticipantsStatus().
ilMembershipGUI::getParentGUI | ( | ) |
Get parent gui.
Definition at line 75 of file class.ilMembershipGUI.php.
References $repository_gui.
Referenced by checkPermissionBool(), createMailSignature(), ilCourseMembershipGUI\deliverCertificate(), ilGroupMembershipGUI\getDefaultRole(), ilCourseMembershipGUI\getDefaultRole(), getDefaultRole(), getLocalRoles(), ilGroupMembershipGUI\getPrintMemberData(), ilGroupMembershipGUI\initEditParticipantTableGUI(), ilCourseMembershipGUI\initEditParticipantTableGUI(), readMemberData(), showParticipantsToolbar(), and ilCourseMembershipGUI\updateLPFromStatus().
ilMembershipGUI::getParentObject | ( | ) |
Get parent object.
Definition at line 84 of file class.ilMembershipGUI.php.
References $repository_object.
Referenced by __construct(), addMemberTab(), assignFromWaitingList(), ilGroupMembershipGUI\assignMembers(), ilCourseMembershipGUI\assignMembers(), assignSubscribers(), checkPermissionBool(), deleteParticipants(), editMember(), ilGroupMembershipGUI\getLocalTypeRole(), ilCourseMembershipGUI\getLocalTypeRole(), getMembersObject(), ilCourseMembershipGUI\getPrintMemberData(), ilGroupMembershipGUI\initEditParticipantTableGUI(), ilCourseMembershipGUI\initEditParticipantTableGUI(), ilGroupMembershipGUI\initParticipantTableGUI(), ilCourseMembershipGUI\initParticipantTableGUI(), ilGroupMembershipGUI\initWaitingList(), ilCourseMembershipGUI\initWaitingList(), membersMap(), parseSubscriberTable(), parseWaitingListTable(), participants(), printMembersOutput(), sendMailToSelectedUsers(), setSubTabs(), showMailToMemberToolbarButton(), and updateParticipants().
|
protected |
Mail to members view type $ilToolbar.
Definition at line 743 of file class.ilMembershipGUI.php.
References $GLOBALS, and showMailToMemberToolbarButton().
|
protected |
Members map.
Definition at line 707 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 984 of file class.ilMembershipGUI.php.
References ilLoggerFactory\getLogger(), getMembersObject(), and getParentObject().
Referenced by participants().
|
protected |
Parse table of subscription request.
Definition at line 1166 of file class.ilMembershipGUI.php.
References getParentObject().
Referenced by participants().
|
protected |
Show participant table, subscriber table, wating list table;.
Definition at line 300 of file class.ilMembershipGUI.php.
References getParentObject(), parseSubscriberTable(), parseWaitingListTable(), and showParticipantsToolbar().
Referenced by getMembersObject(), participantsApplyFilter(), and participantsResetFilter().
|
protected |
Apply filter for participant table.
Definition at line 336 of file class.ilMembershipGUI.php.
References participants().
|
protected |
reset participants filter
Definition at line 348 of file class.ilMembershipGUI.php.
References participants().
|
protected |
Print members.
Definition at line 1423 of file class.ilMembershipGUI.php.
|
protected |
print members output
Definition at line 1443 of file class.ilMembershipGUI.php.
References ilObjUserTracking\_enabledLearningProgress(), ilObjUserTracking\_enabledUserRelatedData(), ilPrivacySettings\_getInstance(), array, exit, ilObjectLP\getInstance(), getMembersObject(), and getParentObject().
Required for member table guis.
Has to be refactored and should be locate in ilObjCourse, ilObjGroup instead of GUI
Definition at line 967 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 1321 of file class.ilMembershipGUI.php.
References $_POST, $ilUser, getMembersObject(), ilUtil\sendFailure(), ilUtil\sendSuccess(), and ilGroupMembershipMailNotification\TYPE_REFUSED_SUBSCRIPTION_MEMBER.
|
protected |
Refuse subscribers type $rbacsystem.
Definition at line 1075 of file class.ilMembershipGUI.php.
References $_POST, $GLOBALS, getMembersObject(), ilUtil\sendFailure(), ilUtil\sendSuccess(), and ilGroupMembershipMailNotification\TYPE_REFUSED_SUBSCRIPTION_MEMBER.
|
protected |
Send mail to selected users.
Definition at line 652 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 886 of file class.ilMembershipGUI.php.
References $GLOBALS, ilPrivacySettings\_getInstance(), ilTabsGUI\addSubTabTarget(), array, getParentObject(), and ilMapUtil\isActivated().
Referenced by checkPermissionBool().
|
protected |
Show mail to member toolbar button.
Definition at line 799 of file class.ilMembershipGUI.php.
References $ilUser, ilToolbarGUI\addButton(), ilToolbarGUI\addSeparator(), and getParentObject().
Referenced by checkPermissionBool(), mailMembersBtn(), and showParticipantsToolbar().
|
protected |
Show participants toolbar.
Definition at line 756 of file class.ilMembershipGUI.php.
References array, ilRepositorySearchGUI\fillAutoCompleteToolbar(), getDefaultRole(), getParentGUI(), and showMailToMemberToolbarButton().
Referenced by participants().
ilMembershipGUI::updateParticipants | ( | ) |
update members
public
Definition at line 398 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.
|
protected |
Definition at line 26 of file class.ilMembershipGUI.php.
Referenced by ilCourseMembershipGUI\getPrintMemberData().
|
protected |
Definition at line 36 of file class.ilMembershipGUI.php.
|
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().