56 $this->repository_object = $repository_obj;
58 $this->lng =
$GLOBALS[
'DIC']->language();
59 $this->lng->loadLanguageModule(
'crs');
61 $this->tpl =
$GLOBALS[
'DIC']->ui()->mainTemplate();
62 $this->ctrl =
$GLOBALS[
'DIC']->ctrl();
64 $this->access =
$GLOBALS[
'DIC']->access();
117 return $this->participants;
119 include_once
'./Services/Membership/classes/class.ilParticipants.php';
135 return $this->access->checkAccess($a_permission, $a_cmd, $a_ref_id);
149 return $this->access->checkRbacOrPositionPermissionAccess($a_rbac_perm, $a_pos_perm, $a_ref_id);
206 public function executeCommand()
213 $cmd = $this->ctrl->getCmd(
'participants');
214 $next_class = $this->ctrl->getNextClass();
216 switch ($next_class) {
217 case 'ilrepositorysearchgui':
221 include_once(
'./Services/Search/classes/class.ilRepositorySearchGUI.php');
222 include_once
'./Services/Membership/classes/class.ilParticipants.php';
224 $rep_search->addUserAccessFilterCallable([$this,
'filterUserIdsByRbacOrPositionOfCurrentUser']);
228 $participants->isAdmin(
$GLOBALS[
'ilUser']->getId()) ||
229 $ilAccess->checkAccess(
'manage_members',
'', $this->getParentObject()->getRefId())
231 $rep_search->setCallback(
238 $rep_search->setCallback(
246 $this->ctrl->setReturn($this,
'participants');
247 $ret = $this->ctrl->forwardCommand($rep_search);
251 case 'ilmailmembersearchgui':
253 $ilTabs->clearTargets();
254 $ilTabs->setBackTarget(
255 $this->lng->txt(
'btn_back'),
259 include_once
'Services/Mail/classes/class.ilMail.php';
260 $mail =
new ilMail($ilUser->getId());
261 include_once
'Modules/Course/classes/class.ilCourseConstants.php';
265 $ilAccess->checkAccess(
'manage_members',
"", $this->getParentObject()->getRefId())
266 ) || !$rbacsystem->checkAccess(
'internal_mail', $mail->getMailObjectReferenceId())
268 $ilErr->raiseError($this->lng->txt(
"msg_no_perm_read"), $ilErr->MESSAGE);
271 include_once
'./Services/Contact/classes/class.ilMailMemberSearchGUI.php';
272 include_once
'./Services/Contact/classes/class.ilMailMemberCourseRoles.php';
287 $mail_search->setObjParticipants(
290 $this->ctrl->forwardCommand($mail_search);
293 case 'ilusersgallerygui':
309 $ilErr->raiseError($this->lng->txt(
'msg_no_perm_read'), $ilErr->MESSAGE);
315 require_once
'Services/User/Gallery/classes/class.ilUsersGalleryGUI.php';
316 require_once
'Services/User/Gallery/classes/class.ilUsersGalleryParticipants.php';
321 $this->ctrl->forwardCommand($gallery_gui);
324 case 'ilcourseparticipantsgroupsgui':
330 include_once
'./Modules/Course/classes/class.ilCourseParticipantsGroupsGUI.php';
332 if ($cmd ==
"show" || $cmd =
"") {
335 $this->ctrl->forwardCommand($cmg_gui);
338 case 'ilsessionoverviewgui':
343 include_once
'./Services/Membership/classes/class.ilParticipants.php';
346 include_once(
'./Modules/Session/classes/class.ilSessionOverviewGUI.php');
348 $this->ctrl->forwardCommand($overview);
351 case 'ilmemberexportgui':
356 include_once(
'./Services/Membership/classes/Export/class.ilMemberExportGUI.php');
358 $this->ctrl->forwardCommand($export);
361 case 'ilobjectcustomuserfieldsgui':
365 $this->activateSubTab($this->
getParentObject()->getType() .
"_member_administration");
366 $this->ctrl->setReturn($this,
'participants');
368 include_once
'./Services/Membership/classes/class.ilObjectCustomUserFieldsGUI.php';
370 $this->ctrl->forwardCommand($cdf_gui);
379 $cmd ==
"mailMembersBtn" ||
380 $cmd ==
'membersMap' ||
381 $cmd ==
'printForMembersOutput' ||
382 $cmd ==
'jump2UsersGallery' 399 $this->initParticipantTemplate();
401 $this->activateSubTab($this->
getParentObject()->getType() .
"_member_administration");
406 $this->tpl->setVariable(
'TABLE_WAIT', $waiting->getHTML());
412 $this->tpl->setVariable(
'TABLE_SUB', $subscriber->getHTML());
416 $table = $this->initParticipantTableGUI();
417 $table->setTitle($this->lng->txt($this->getParentObject()->getType() .
'_mem_tbl_header'));
418 $table->setFormAction($this->ctrl->getFormAction($this));
422 $table->setFilterCommand(
'participantsApplyFilter');
423 $table->setResetCommand(
'participantsResetFilter');
425 $this->tpl->setVariable(
'MEMBERS',
$table->getHTML());
433 $table = $this->initParticipantTableGUI();
435 $table->writeFilterToSession();
447 $table = $this->initParticipantTableGUI();
460 $this->activateSubTab($this->
getParentObject()->getType() .
"_member_administration");
470 if (!$post_participants) {
471 $post_participants = (
array)
$_POST[
'participants'];
475 $participants = array_intersect((
array) $post_participants, (
array) $real_participants);
477 if (!count($participants)) {
479 $this->ctrl->redirect($this,
'participants');
481 $table = $this->initEditParticipantTableGUI($participants);
482 $this->tpl->setContent(
$table->getHTML());
495 global $rbacsystem, $rbacreview,
$ilUser, $ilAccess;
497 if (!count(
$_POST[
'participants'])) {
499 $this->ctrl->redirect($this,
'participants');
508 $hasEditPermissionAccess =
510 $ilAccess->checkAccess(
'edit_permission',
'', $this->
getParentObject()->getRefId()) or
516 $assignableLocalRoles =
array();
518 foreach ($this->getLocalTypeRole(
false) as
$title => $role_id) {
519 $assignableLocalRoles[$role_id] =
$title;
523 foreach (
$_POST[
'participants'] as $usr_id) {
524 $memberIsAdmin = $rbacreview->isAssigned($usr_id, $adminRoleId);
529 if (!$hasEditPermissionAccess && $memberIsAdmin &&
530 !in_array($adminRoleId,
$_POST[
'roles'][$usr_id])
532 $_POST[
'roles'][$usr_id][] = $adminRoleId;
536 foreach ((
array)
$_POST[
'roles'][$usr_id] as $role_id) {
537 if (!array_key_exists($role_id, $assignableLocalRoles)) {
539 $this->ctrl->redirect($this,
'participants');
541 if (!$hasEditPermissionAccess &&
542 $role_id == $adminRoleId &&
545 $this->ctrl->redirect($this,
'participants');
552 if (!isset(
$_POST[
'roles'][$admin_id])) {
556 if (in_array($adminRoleId,
$_POST[
'roles'][$admin_id])) {
563 ilUtil::sendFailure($this->lng->txt($this->getParentObject()->getType() .
'_min_one_admin'),
true);
564 $this->ctrl->redirect($this,
'participants');
567 foreach (
$_POST[
'participants'] as $usr_id) {
582 $this->
getMembersObject()->updatePassed($usr_id, in_array($usr_id, $passed),
true);
592 in_array($usr_id, $contact)
599 $this->updateLPFromStatus($usr_id, in_array($usr_id, $passed));
602 $this->ctrl->redirect($this,
"participants");
614 if (!count($participants)) {
616 $this->ctrl->redirect($this,
'participants');
621 ilUtil::sendFailure($this->lng->txt($this->getParentObject()->getType() .
'_at_least_one_admin'),
true);
622 $this->ctrl->redirect($this,
'participants');
627 $this->lng->loadLanguageModule(
'rbac');
634 !$ilAccess->checkAccess(
637 $this->getParentObject()->getRefId()
641 foreach ($participants as $usr_id) {
644 $this->ctrl->redirect($this,
'participants');
650 include_once(
'./Services/Utilities/classes/class.ilConfirmationGUI.php');
652 $confirm->setFormAction($this->ctrl->getFormAction($this,
'confirmDeleteParticipants'));
653 $confirm->setHeaderText($this->lng->txt($this->getParentObject()->getType() .
'_header_delete_members'));
654 $confirm->setConfirm($this->lng->txt(
'confirm'),
'deleteParticipants');
655 $confirm->setCancel($this->lng->txt(
'cancel'),
'participants');
657 foreach ($participants as $usr_id) {
663 $name[
'lastname'] .
', ' .
$name[
'firstname'] .
' [' .
$name[
'login'] .
']',
668 $this->tpl->setContent($confirm->getHTML());
673 global $rbacreview, $rbacsystem, $ilAccess,
$ilUser;
677 if (!is_array($participants) or !count($participants)) {
679 $this->ctrl->redirect($this,
'participants');
685 !$ilAccess->checkAccess(
'edit_permission',
'', $this->getParentObject()->getRefId()) &&
688 foreach ($participants as $part) {
691 $this->ctrl->redirect($this,
'participants');
698 $this->ctrl->redirect($this,
'participants');
700 foreach ((
array)
$_POST[
"participants"] as $usr_id) {
708 include_once
'./Modules/Group/classes/class.ilGroupMembershipMailNotification.php';
715 ilUtil::sendSuccess($this->lng->txt($this->getParentObject()->getType() .
"_members_deleted"),
true);
716 $this->ctrl->redirect($this,
"participants");
726 if (
$_POST[
'participants']) {
728 } elseif (
$_GET[
'member_id']) {
730 } elseif (
$_POST[
'subscribers']) {
732 } elseif (
$_POST[
'waiting']) {
736 if (!count($participants)) {
738 $this->ctrl->redirect($this,
'participants');
741 foreach ($participants as $usr_id) {
745 require_once
'Services/Mail/classes/class.ilMailFormCall.php';
746 require_once
'Modules/Course/classes/class.ilCourseMailTemplateTutorContext.php';
748 $context_options = [];
782 $this->activateSubTab($this->
getParentObject()->getType() .
"_members_map");
783 include_once(
"./Services/Maps/classes/class.ilMapUtil.php");
789 $map->setMapId(
"course_map")
795 ->setEnableTypeControl(
true)
796 ->setEnableNavigationControl(
true)
797 ->setEnableCentralMarker(
true);
799 include_once
'./Services/Membership/classes/class.ilParticipants.php';
801 foreach ((
array) $members as $user_id) {
802 $map->addUserMarker($user_id);
805 $tpl->setContent($map->getHTML());
806 $tpl->setLeftContent($map->getUserListHTML());
831 include_once
'./Services/Search/classes/class.ilRepositorySearchGUI.php';
836 'auto_complete_name' => $this->lng->txt(
'user'),
839 'submit_name' => $this->lng->txt(
'add')
844 $ilToolbar->addSeparator();
847 $ilToolbar->addButton(
848 $this->lng->txt($this->getParentObject()->getType() .
"_search_users"),
849 $this->ctrl->getLinkTargetByClass(
850 'ilRepositorySearchGUI',
856 $ilToolbar->addSeparator();
860 $ilToolbar->addButton(
861 $this->lng->txt($this->getParentObject()->getType() .
"_print_list"),
862 $this->ctrl->getLinkTarget($this,
'printMembers')
884 $this->ctrl->setParameter($this,
"back_cmd", $a_back_cmd);
887 $this->lng->txt($this->getParentObject()->getType() .
'_print_list'),
888 $this->ctrl->getLinkTarget($this,
'printForMembersOutput')
902 global
$ilUser, $rbacsystem, $ilAccess;
903 include_once
'Services/Mail/classes/class.ilMail.php';
904 $mail =
new ilMail($ilUser->getId());
909 $ilAccess->checkAccess(
'manage_members',
"", $this->
getParentObject()->getRefId()) &&
910 $rbacsystem->checkAccess(
'internal_mail', $mail->getMailObjectReferenceId())
918 $this->ctrl->setParameter($this,
"back_cmd", $a_back_cmd);
922 $this->lng->txt(
"mail_members"),
923 $this->ctrl->getLinkTargetByClass(
'ilMailMemberSearchGUI',
'')
948 if ($has_manage_members_permission) {
949 return 'participants';
953 return 'jump2UsersGallery';
955 return 'mailMembersBtn';
967 include_once
'./Services/Mail/classes/class.ilMail.php';
976 if ($has_manage_members_permission) {
979 $this->lng->txt(
'members'),
980 $this->ctrl->getLinkTarget($this,
'')
987 $this->lng->txt(
'members'),
988 $this->ctrl->getLinkTargetByClass(
array(get_class($this),
'ilusersgallerygui'),
'view')
992 $GLOBALS[
'rbacsystem']->checkAccess(
'internal_mail', $mail->getMailObjectReferenceId()) &&
997 $this->lng->txt(
'members'),
998 $this->ctrl->getLinkTarget($this,
"mailMembersBtn")
1013 $this->ctrl->getLinkTarget($this,
'participants'),
1021 "crs_members_groups",
1022 $this->ctrl->getLinkTargetByClass(
"ilCourseParticipantsGroupsGUI",
"show"),
1024 "ilCourseParticipantsGroupsGUI" 1029 if (count($childs)) {
1032 $this->ctrl->getLinkTargetByClass(
array(get_class($this),
'ilsessionoverviewgui'),
'listSessions'),
1034 'ilsessionoverviewgui' 1040 $this->ctrl->getLinkTargetByClass(
array(get_class($this),
'ilUsersGalleryGUI')),
1048 $this->ctrl->getLinkTargetByClass(
array(get_class($this),
'ilUsersGalleryGUI')),
1054 include_once
'./Services/Maps/classes/class.ilMapUtil.php';
1058 $this->ctrl->getLinkTarget($this,
'membersMap'),
1064 include_once
'Services/PrivacySecurity/classes/class.ilPrivacySettings.php';
1068 $this->ctrl->getLinkTargetByClass(
array(get_class($this),
'ilmemberexportgui'),
'show'),
1082 return $this->
getParentGUI()->readMemberData($usr_ids, $columns);
1101 if (!count($filtered_subscribers)) {
1105 $subscriber->setTitle($this->lng->txt(
'group_new_registrations'));
1106 $subscriber->readSubscriberData(
1107 $filtered_subscribers
1118 if (!is_array(
$_POST[
"subscribers"])) {
1120 $this->ctrl->redirect($this,
'participants');
1123 include_once(
"Services/Utilities/classes/class.ilConfirmationGUI.php");
1127 $c_gui->setFormAction($this->ctrl->getFormAction($this,
"assignSubscribers"));
1128 $c_gui->setHeaderText($this->lng->txt(
"info_assign_sure"));
1129 $c_gui->setCancel($this->lng->txt(
"cancel"),
"participants");
1130 $c_gui->setConfirm($this->lng->txt(
"confirm"),
"assignSubscribers");
1132 foreach (
$_POST[
"subscribers"] as $subscribers) {
1138 $name[
'lastname'] .
', ' .
$name[
'firstname'] .
' [' .
$name[
'login'] .
']',
1143 $this->tpl->setContent($c_gui->getHTML());
1153 if (!is_array(
$_POST[
"subscribers"])) {
1155 $this->ctrl->redirect($this,
'participants');
1158 $this->lng->loadLanguageModule(
'mmbr');
1160 include_once(
"Services/Utilities/classes/class.ilConfirmationGUI.php");
1164 $c_gui->setFormAction($this->ctrl->getFormAction($this,
"refuseSubscribers"));
1165 $c_gui->setHeaderText($this->lng->txt(
"info_refuse_sure"));
1166 $c_gui->setCancel($this->lng->txt(
"cancel"),
"participants");
1167 $c_gui->setConfirm($this->lng->txt(
"confirm"),
"refuseSubscribers");
1169 foreach (
$_POST[
"subscribers"] as $subscribers) {
1175 $name[
'lastname'] .
', ' .
$name[
'firstname'] .
' [' .
$name[
'login'] .
']',
1180 $this->tpl->setContent($c_gui->getHTML());
1193 if (!
$_POST[
'subscribers']) {
1195 $this->ctrl->redirect($this,
'participants');
1200 $this->ctrl->redirect($this,
'participants');
1202 foreach (
$_POST[
'subscribers'] as $usr_id) {
1207 include_once
'./Modules/Group/classes/class.ilGroupMembershipMailNotification.php';
1216 $noti->setRecipients(
array($usr_id));
1224 $this->ctrl->redirect($this,
'participants');
1237 if (!is_array(
$_POST[
"subscribers"])) {
1239 $this->ctrl->redirect($this,
'participants');
1244 $this->ctrl->redirect($this,
'participants');
1246 foreach (
$_POST[
"subscribers"] as $usr_id) {
1252 include_once
'./Modules/Group/classes/class.ilGroupMembershipMailNotification.php';
1260 include_once
'./Modules/Session/classes/class.ilSessionMembershipMailNotification.php';
1263 $noti->setRecipients(
array($usr_id));
1270 $this->ctrl->redirect($this,
'participants');
1279 $wait = $this->initWaitingList();
1282 if (!count($wait_users)) {
1286 include_once
'./Services/Membership/classes/class.ilWaitingListTableGUI.php';
1288 $waiting_table->setUserIds(
1291 $waiting_table->readUserData();
1292 $waiting_table->setTitle($this->lng->txt(
'crs_waiting_list'));
1294 return $waiting_table;
1303 if (!is_array(
$_POST[
"waiting"])) {
1305 $this->ctrl->redirect($this,
'participants');
1309 include_once(
"Services/Utilities/classes/class.ilConfirmationGUI.php");
1313 $c_gui->setFormAction($this->ctrl->getFormAction($this,
"assignFromWaitingList"));
1314 $c_gui->setHeaderText($this->lng->txt(
"info_assign_sure"));
1315 $c_gui->setCancel($this->lng->txt(
"cancel"),
"participants");
1316 $c_gui->setConfirm($this->lng->txt(
"confirm"),
"assignFromWaitingList");
1318 foreach (
$_POST[
"waiting"] as $waiting) {
1324 $name[
'lastname'] .
', ' .
$name[
'firstname'] .
' [' .
$name[
'login'] .
']',
1329 $this->tpl->setContent($c_gui->getHTML());
1340 if (!count(
$_POST[
"waiting"])) {
1342 $this->ctrl->redirect($this,
'participants');
1345 $waiting_list = $this->initWaitingList();
1348 foreach (
$_POST[
"waiting"] as $user_id) {
1362 include_once
'./Modules/Group/classes/class.ilGroupMembershipMailNotification.php';
1374 $noti->setRecipients(
array($user_id));
1379 $waiting_list->removeFromList($user_id);
1385 $this->ctrl->redirect($this,
'participants');
1388 $this->ctrl->redirect($this,
'participants');
1398 if (!is_array(
$_POST[
"waiting"])) {
1400 $this->ctrl->redirect($this,
'participants');
1403 $this->lng->loadLanguageModule(
'mmbr');
1405 include_once(
"Services/Utilities/classes/class.ilConfirmationGUI.php");
1409 $c_gui->setFormAction($this->ctrl->getFormAction($this,
"refuseFromList"));
1410 $c_gui->setHeaderText($this->lng->txt(
"info_refuse_sure"));
1411 $c_gui->setCancel($this->lng->txt(
"cancel"),
"participants");
1412 $c_gui->setConfirm($this->lng->txt(
"confirm"),
"refuseFromList");
1414 foreach (
$_POST[
"waiting"] as $waiting) {
1420 $name[
'lastname'] .
', ' .
$name[
'firstname'] .
' [' .
$name[
'login'] .
']',
1425 $this->tpl->setContent($c_gui->getHTML());
1437 if (!count(
$_POST[
'waiting'])) {
1439 $this->ctrl->redirect($this,
'participants');
1442 $waiting_list = $this->initWaitingList();
1444 foreach (
$_POST[
"waiting"] as $user_id) {
1445 $waiting_list->removeFromList($user_id);
1451 include_once
'./Modules/Group/classes/class.ilGroupMembershipMailNotification.php';
1459 include_once
'./Modules/Session/classes/class.ilSessionMembershipMailNotification.php';
1462 $noti->setRecipients(
array($user_id));
1468 $this->ctrl->redirect($this,
'participants');
1479 $this->ctrl->redirect($this,
'participants');
1481 include_once
'./Services/User/classes/class.ilUserClipboard.php';
1486 $this->lng->loadLanguageModule(
'user');
1488 $this->ctrl->redirect($this,
'participants');
1502 protected function activateSubTab($a_sub_tab)
1508 $tabs->activateSubTab($a_sub_tab);
1522 $ilTabs = $DIC->tabs();
1526 $ilTabs->clearTargets();
1527 $ilTabs->setBackTarget(
1528 $this->lng->txt(
'back'),
1529 $this->ctrl->getLinkTarget($this,
'participants')
1532 $list = $this->initAttendanceList();
1533 $form =
$list->initForm(
'printMembersOutput');
1534 $this->tpl->setContent(
$form->getHTML());
1542 $list = $this->initAttendanceList();
1543 $list->initFromForm();
1544 $list->setCallback(
array($this,
'getAttendanceListUserData'));
1545 $this->member_data = $this->getPrintMemberData(
1551 $list->getNonMemberUserData($this->member_data);
1553 $list->getFullscreenHTML();
1562 $list = $this->initAttendanceList();
1563 $list->setTitle($this->lng->txt(
'obj_' . $this->getParentObject()->getType()) .
': ' . $this->
getParentObject()->getTitle());
1565 $form =
$list->initForm(
'printForMembersOutput');
1566 $list->initFromForm();
1567 $list->setCallback(
array($this,
'getAttendanceListUserData'));
1568 $this->member_data = $this->getPrintMemberData($this->
getMembersObject()->getParticipants());
1569 $list->getNonMemberUserData($this->member_data);
1571 $list->getFullscreenHTML();
1580 $this->ctrl->redirectByClass(
'ilUsersGalleryGUI');
1589 protected function initAttendanceList($a_for_members =
false)
1596 $waiting_list = $this->initWaitingList();
1599 $member_id = $DIC->repositoryTree()->checkForParentType(
1604 $member_id = $DIC->repositoryTree()->checkForParentType(
1610 $DIC->logger()->sess()->warning(
'Cannot find parent course or group for ref_id: ' . $this->
getParentObject()->getRefId());
1622 include_once
'Services/Membership/classes/class.ilAttendanceList.php';
1633 $this->lng->txt($this->getParentObject()->getType() .
'_members_print_title'),
1634 $this->lng->txt(
'obj_' . $this->getParentObject()->getType()) .
': ' . $this->
getParentObject()->getTitle()
1637 include_once
'./Services/Tracking/classes/class.ilObjUserTracking.php';
1640 if ($show_tracking) {
1641 include_once(
'./Services/Object/classes/class.ilObjectLP.php');
1643 $show_tracking = $olp->isActive();
1645 if ($show_tracking) {
1646 $list->addPreset(
'progress', $this->lng->txt(
'learning_progress'),
true);
1649 include_once(
'./Services/PrivacySecurity/classes/class.ilPrivacySettings.php');
1654 if ($privacy->enabledAccessTimesByType($this->getParentObject()->getType())) {
1655 $list->addPreset(
'access', $this->lng->txt(
'last_access'),
true);
1660 $list->addPreset(
'status', $this->lng->txt(
'crs_status'),
true);
1661 $list->addPreset(
'passed', $this->lng->txt(
'crs_passed'),
true);
1665 $list->addPreset(
'mark', $this->lng->txt(
'trac_mark'),
true);
1666 $list->addPreset(
'comment', $this->lng->txt(
'trac_comment'),
true);
1668 $list->addPreset(
'registered', $this->lng->txt(
'event_tbl_registered'),
true);
1670 $list->addPreset(
'participated', $this->lng->txt(
'event_tbl_participated'),
true);
1671 $list->addBlank($this->lng->txt(
'sess_signature'));
1673 $list->addUserFilter(
'registered', $this->lng->txt(
'event_list_registered_only'));
static sendSuccess($a_info="", $a_keep=false)
Send Success Message to Screen.
static _lookupLogin($a_user_id)
lookup login
static _lookupName($a_user_id)
lookup user name
static _isParticipant($a_ref_id, $a_usr_id)
Static function to check if a user is a participant of the container object.
readMemberData(array $usr_ids, array $columns)
Required for member table guis.
Class ilCourseParticipantsGroupsGUI.
if(isset($_REQUEST['delete'])) $list
setSubTabs(ilTabsGUI $tabs)
Set sub tabs.
Base class for member tab content.
confirmDeleteParticipants()
Show confirmation screen for participants deletion.
addSubTabTarget( $a_text, $a_link, $a_cmd="", $a_cmdClass="", $a_frame="", $a_activate=false, $a_dir_text=false)
DEPRECATED.
static getInstance($a_usr_id)
Get singelton instance.
printMembersOutput()
print members output
addToClipboard()
Add selected users to user clipboard.
const TYPE_ACCEPTED_SUBSCRIPTION_MEMBER
printMembers()
Print members.
getMembersObject()
Get member object.
const TYPE_DISMISS_MEMBER
updateParticipants()
update members
assignFromWaitingList()
Assign from waiting list type $rbacsystem.
checkPermissionBool($a_permission, $a_cmd='', $a_type='', $a_ref_id=0)
Check permission.
$GLOBALS['loaded']
Global hash that tracks already loaded includes.
participantsResetFilter()
reset participants filter
ilUsersGalleryGUI: ilPublicUserProfileGUI ilUsersGalleryGUI: ilCourseMembershipGUI, ilGroupMembershipGUI
confirmAssignSubscribers()
Show subscription confirmation.
editMember()
Edit one participant.
__construct(ilObjectGUI $repository_gui, ilObject $repository_obj)
Constructor.
Class ilMailMemberSearchGUI.
printForMembersOutput()
print members output
checkPermission($a_permission, $a_cmd="")
Check permission If not granted redirect to parent gui.
parseWaitingListTable()
Parse table of subscription request.
Class ilMailMemberCourseRoles.
Base class for attendance lists.
getLocalRoles()
Get parent roles.
static getInstance($a_ref_id)
Get instance by ref_id.
refuseSubscribers()
Refuse subscribers type $rbacsystem.
static sendInfo($a_info="", $a_keep=false)
Send Info Message to Screen.
showMailToMemberToolbarButton(ilToolbarGUI $toolbar, $a_back_cmd=null, $a_separator=false)
Show mail to member toolbar button.
static _enabledUserRelatedData()
check wether user related tracking is enabled or not
static _enabledLearningProgress()
check wether learing progress is enabled or not
static getMapGUI()
Get an instance of the GUI class.
Class ilMailMemberCourseRoles.
if(isset($_POST['submit'])) $form
assignSubscribers()
Do assignment of subscription request type $rbacsystem type $ilErr.
GUI class for membership features.
static getImagePath($img, $module_path="", $mode="output", $offline=false)
get image path (for images located in a template directory)
This class handles base functions for mail handling.
Class ilObjectGUI Basic methods of all Output classes.
checkRbacOrPermissionAccess($a_rbac_perm, $a_pos_perm)
check rbac or position access
GUI class for course/group subscriptions.
sendMailToSelectedUsers()
Send mail to selected users.
getParentGUI()
Get parent gui.
confirmAssignFromWaitingList()
Assign from waiting list (confirmatoin)
static getInstanceByObjId($a_obj_id, $stop_on_error=true)
get an instance of an Ilias object by object id
Class ilUsersGalleryParticipants.
Create styles array
The data for the language used.
const TYPE_REFUSED_SUBSCRIPTION_MEMBER
showParticipantsToolbar()
Show participants toolbar.
static sendFailure($a_info="", $a_keep=false)
Send Failure Message to Screen.
GUI class for membership features.
showMemberExportToolbarButton(ilToolbarGUI $toolbar, $a_back_cmd=null, $a_separator=false)
Show member export button.
if(!empty($this->data['faventry'])) $tabs
confirmRefuseSubscribers()
Refuse subscriber confirmation.
static isActivated()
Checks whether Map feature is activated.
parseSubscriberTable()
Parse table of subscription request.
const TYPE_REFUSED_SUBSCRIPTION_MEMBER
Create new PHPExcel object
obj_idprivate
const TYPE_ACCEPTED_SUBSCRIPTION_MEMBER
mailMembersBtn()
Mail to members view type $ilToolbar.
getDefaultCommand()
Get default command.
GUI class for course/group waiting list.
addMemberTab(ilTabsGUI $tabs, $a_is_participant=false)
add member tab
participants()
Show participant table, subscriber table, wating list table;.
addTab($a_id, $a_text, $a_link, $a_frame="")
Add a Tab.
refuseFromList()
refuse from waiting list
static getLogger($a_component_id)
Get component logger.
static _getInstance()
Get instance of ilPrivacySettings.
Add data(end) time
Method that wraps PHPs time in order to allow simulations with the workflow.
static fillAutoCompleteToolbar($parent_object, ilToolbarGUI $toolbar=null, $a_options=array(), $a_sticky=false)
fill toolbar with
getParentObject()
Get parent object.
if(empty($password)) $table
editParticipants($post_participants=array())
Edit participants.
confirmRefuseFromList()
Refuse from waiting list (confirmation)
filterUserIdsByRbacOrPositionOfCurrentUser($a_user_ids)
Filter user ids by access.
static redirect($a_script)
static getInstance($a_obj_id)
canAddOrSearchUsers()
Check if current user is allowed to add / search users.
static getInstanceByObjId($a_obj_id)
Get instance by obj type.
checkRbacOrPositionAccessBool($a_rbac_perm, $a_pos_perm, $a_ref_id=0)
Check if rbac or position access is granted.
participantsApplyFilter()
Apply filter for participant table.
Confirmation screen class.