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 @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 | |
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 @global 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 @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... | |
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(), and getParentObject().
|
protected |
Add selected users to user clipboard.
Definition at line 1359 of file class.ilMembershipGUI.php.
References $_POST, $GLOBALS, ilUserClipboard\getInstance(), ilUtil\sendFailure(), and ilUtil\sendSuccess().
ilMembershipGUI::assignFromWaitingList | ( | ) |
Assign from waiting list @global 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 @global type $rbacsystem @global type $ilErr.
Definition at line 1119 of file class.ilMembershipGUI.php.
References $_POST, $ilErr, assignSubscribers(), getMembersObject(), getParentObject(), IL_GRP_MEMBER, ilUtil\sendFailure(), ilUtil\sendSuccess(), and ilGroupMembershipMailNotification\TYPE_ACCEPTED_SUBSCRIPTION_MEMBER.
Referenced by assignSubscribers().
|
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 getParentObject().
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(), 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, deleteParticipants(), getMembersObject(), getParentObject(), ilUtil\sendFailure(), ilUtil\sendSuccess(), and ilGroupMembershipMailNotification\TYPE_DISMISS_MEMBER.
Referenced by deleteParticipants().
|
protected |
Edit one participant.
Definition at line 361 of file class.ilMembershipGUI.php.
References editParticipants(), and getParentObject().
|
protected |
Edit participants.
array | $post_participants |
Definition at line 371 of file class.ilMembershipGUI.php.
References $_POST, getMembersObject(), and ilUtil\sendFailure().
Referenced by editMember().
|
protected |
Reimplemented in ilCourseMembershipGUI, and ilGroupMembershipGUI.
Definition at line 1381 of file class.ilMembershipGUI.php.
ilMembershipGUI::getLocalRoles | ( | ) |
Get parent roles.
Definition at line 976 of file class.ilMembershipGUI.php.
References getParentGUI().
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(), confirmDeleteParticipants(), deleteParticipants(), editParticipants(), ilCourseMembershipGUI\getPrintMemberData(), parseSubscriberTable(), printMembersOutput(), refuseFromList(), refuseSubscribers(), updateParticipants(), ilCourseMembershipGUI\updateParticipantsStatus(), and ilGroupMembershipGUI\updateParticipantsStatus().
ilMembershipGUI::getParentGUI | ( | ) |
Get parent gui.
Definition at line 75 of file class.ilMembershipGUI.php.
References $repository_gui.
Referenced by createMailSignature(), ilCourseMembershipGUI\deliverCertificate(), ilCourseMembershipGUI\getDefaultRole(), ilGroupMembershipGUI\getDefaultRole(), getLocalRoles(), ilGroupMembershipGUI\getPrintMemberData(), ilCourseMembershipGUI\initEditParticipantTableGUI(), ilGroupMembershipGUI\initEditParticipantTableGUI(), readMemberData(), 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(), ilCourseMembershipGUI\getLocalTypeRole(), ilGroupMembershipGUI\getLocalTypeRole(), getMembersObject(), ilCourseMembershipGUI\getPrintMemberData(), ilCourseMembershipGUI\initEditParticipantTableGUI(), ilGroupMembershipGUI\initEditParticipantTableGUI(), ilCourseMembershipGUI\initParticipantTableGUI(), ilGroupMembershipGUI\initParticipantTableGUI(), ilCourseMembershipGUI\initWaitingList(), ilGroupMembershipGUI\initWaitingList(), membersMap(), parseSubscriberTable(), parseWaitingListTable(), participants(), sendMailToSelectedUsers(), setSubTabs(), showMailToMemberToolbarButton(), and updateParticipants().
|
protected |
Mail to members view @global 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, 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 exit, 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 967 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 1321 of file class.ilMembershipGUI.php.
References $_POST, $ilUser, getMembersObject(), ilUtil\sendFailure(), ilUtil\sendSuccess(), and ilGroupMembershipMailNotification\TYPE_REFUSED_SUBSCRIPTION_MEMBER.
|
protected |
Refuse subscribers @global 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(), ilMailFormCall\CONTEXT_KEY, createMailSignature(), getParentObject(), ilMailFormCall\getRedirectTarget(), ilCourseMailTemplateTutorContext\ID, ilUtil\redirect(), ilUtil\sendFailure(), and ilMailFormCall\setRecipients().
|
protected |
Set sub tabs.
Definition at line 886 of file class.ilMembershipGUI.php.
References $GLOBALS, ilPrivacySettings\_getInstance(), ilTabsGUI\addSubTabTarget(), getParentObject(), and ilMapUtil\isActivated().
|
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 mailMembersBtn(), and showParticipantsToolbar().
|
protected |
Show participants toolbar.
Definition at line 756 of file class.ilMembershipGUI.php.
References ilRepositorySearchGUI\fillAutoCompleteToolbar(), and showMailToMemberToolbarButton().
Referenced by participants().
ilMembershipGUI::updateParticipants | ( | ) |
update members
@access public
return
Definition at line 398 of file class.ilMembershipGUI.php.
References $_POST, $ilUser, $title, 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().