ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
ilObjStudyProgrammeMembersGUI Class Reference

@ilCtrl_Calls ilObjStudyProgrammeMembersGUI: ilStudyProgrammeRepositorySearchGUI @ilCtrl_Calls ilObjStudyProgrammeMembersGUI: ilObjStudyProgrammeIndividualPlanGUI @ilCtrl_Calls ilObjStudyProgrammeMembersGUI: ilObjFileGUI @ilCtrl_Calls ilObjStudyProgrammeMembersGUI: ilStudyProgrammeMailMemberSearchGUI @ilCtrl_Calls ilObjStudyProgrammeMembersGUI: ilStudyProgrammeChangeExpireDateGUI @ilCtrl_Calls ilObjStudyProgrammeMembersGUI: ilStudyProgrammeChangeDeadlineGUI @ilCtrl_Calls ilObjStudyProgrammeMembersGUI: ilFormPropertyDispatchGUI More...

+ Collaboration diagram for ilObjStudyProgrammeMembersGUI:

Public Member Functions

 __construct (protected ilGlobalTemplateInterface $tpl, protected ilCtrl $ctrl, protected ilToolbarGUI $toolbar, protected ilLanguage $lng, protected ilObjUser $user, protected ilTabsGUI $tabs, protected ilPRGAssignmentDBRepository $assignment_db, protected ilStudyProgrammeRepositorySearchGUI $repository_search_gui, protected ilObjStudyProgrammeIndividualPlanGUI $individual_plan_gui, protected ilPRGMessagePrinter $messages, protected Factory $data_factory, protected ilConfirmationGUI $confirmation_gui, protected ILIAS\HTTP\Wrapper\WrapperFactory $http_wrapper, protected ILIAS\Refinery\Factory $refinery, protected ILIAS\UI\Factory $ui_factory, protected ILIAS\UI\Renderer $ui_renderer, protected GuzzleHttp\Psr7\ServerRequest $request,)
 
 setParentGUI (ilObjectGUI $a_parent_gui)
 
 setRefId (int $ref_id)
 
 executeCommand ()
 
 applyFilter ()
 
 resetFilter ()
 
 addUsers (array $user_ids)
 Assigns a users to SP. More...
 
 viewCompletedCourses (array $assignments)
 Shows list of completed courses for each assignment. More...
 
 unmarkAccreditedMulti ()
 
 markRelevant ()
 
 markRelevantMulti ()
 
 markNotRelevant ()
 
 markNotRelevantMulti ()
 
 updateFromCurrentPlan ()
 
 updateFromCurrentPlanMulti ()
 
 confirmedUpdateFromCurrentPlan ()
 
 acknowledgeCourses ()
 
 acknowledgeCoursesMulti ()
 
 confirmedAcknowledgeAllCourses ()
 
 confirmedAcknowledgeCourses ()
 
 changeDeadline ()
 
 changeDeadlineMulti ()
 
 changeExpireDate ()
 
 changeExpireDateMulti ()
 
 removeUser ()
 
 getStudyProgramme (?int $ref_id=null)
 Get studyprogramm object for ref_id Use this ref_id if argument is null. More...
 
 getLinkTargetForAction (string $action, string $prgrs_id, int $ass_id)
 Get the link target for an action on user progress. More...
 
 updateCertificate ()
 
 updateCertificateMulti ()
 
 confirmedUpdateCertificate ()
 
 removeCertificate ()
 
 removeCertificateMulti ()
 
 confirmedRemovalOfCertificate ()
 

Data Fields

const ACTION_MARK_ACCREDITED = "mark_accredited"
 
const ACTION_UNMARK_ACCREDITED = "unmark_accredited"
 
const ACTION_SHOW_INDIVIDUAL_PLAN = "show_individual_plan"
 
const ACTION_REMOVE_USER = "remove_user"
 
const ACTION_CHANGE_DEADLINE = "change_deadline"
 
const ACTION_MARK_RELEVANT = "mark_relevant"
 
const ACTION_UNMARK_RELEVANT = "unmark_relevant"
 
const ACTION_UPDATE_FROM_CURRENT_PLAN = "update_from_current_plan"
 
const ACTION_CHANGE_EXPIRE_DATE = "change_expire_date"
 
const ACTION_UPDATE_CERTIFICATE = "update_certificate"
 
const ACTION_ACKNOWLEDGE_COURSES = "acknowledge_completed_courses"
 
const ACTION_REMOVE_CERTIFICATE = "remove_certificate"
 
const F_COMMAND_OPTION_ALL = 'select_cmd_all'
 
const F_ALL_PROGRESS_IDS = 'all_progress_ids'
 
const F_SELECTED_PROGRESS_IDS = 'prgs_ids'
 
const F_SELECTED_USER_IDS = 'usrids'
 

Protected Member Functions

 getDefaultCommand ()
 
 getAssignmentsById ()
 
 getMembersTableGUI ()
 
 getPostPrgsIds ()
 
 getGetPrgsIds ()
 
 getPrgrsId ()
 
 view ()
 Shows table with all members of the SP. More...
 
 getAddableUsers (array $users)
 
 markAccredited ()
 
 markAccreditedMulti ()
 
 markAccreditedByProgressId (PRGProgressId $prgrs_id, ilPRGMessageCollection $msgs)
 
 unmarkAccredited ()
 
 unmarkAccreditedByProgressId (PRGProgressId $prgrs_id, ilPRGMessageCollection $msgs)
 
 getAssignmentsFromQuery ()
 
 removeUserMulti ()
 
 confirmRemoveUsers (array $progress_ids)
 
 confirmedRemoveUsers ()
 
 removeAssignment (PRGProgressId $pgs_id)
 Remove user. More...
 
 showSuccessMessage (string $lng_var)
 Shows ilUtil success message. More...
 
 showInfoMessage (string $lng_var)
 Shows ilUtil failed message. More...
 
 initSearchGUI ()
 
 initMailToMemberButton (ilToolbarGUI $toolbar, bool $separator=false)
 
 mayCurrentUserEditProgressForUser (int $usr_id)
 
 getMessageCollection (string $topic)
 
 showMessages (ilPRGMessageCollection $msg)
 
 mailToSelectedUsers ()
 
 deliverCertificate (int $obj_id, int $usr_id)
 

Protected Attributes

ilObjStudyProgramme $object
 
ilPRGPermissionsHelper $permissions
 
ilObjectGUI $parent_gui
 
int $ref_id
 

Private Attributes

const DEFAULT_CMD = "view"
 

Detailed Description

Constructor & Destructor Documentation

◆ __construct()

ilObjStudyProgrammeMembersGUI::__construct ( protected ilGlobalTemplateInterface  $tpl,
protected ilCtrl  $ctrl,
protected ilToolbarGUI  $toolbar,
protected ilLanguage  $lng,
protected ilObjUser  $user,
protected ilTabsGUI  $tabs,
protected ilPRGAssignmentDBRepository  $assignment_db,
protected ilStudyProgrammeRepositorySearchGUI  $repository_search_gui,
protected ilObjStudyProgrammeIndividualPlanGUI  $individual_plan_gui,
protected ilPRGMessagePrinter  $messages,
protected Factory  $data_factory,
protected ilConfirmationGUI  $confirmation_gui,
protected ILIAS\HTTP\Wrapper\WrapperFactory  $http_wrapper,
protected ILIAS\Refinery\Factory  $refinery,
protected ILIAS\UI\Factory  $ui_factory,
protected ILIAS\UI\Renderer  $ui_renderer,
protected GuzzleHttp\Psr7\ServerRequest  $request 
)

Definition at line 63 of file class.ilObjStudyProgrammeMembersGUI.php.

81 {
82 $this->object = null;
83 $this->permissions = null;
84
85 $lng->loadLanguageModule("prg");
86 $this->toolbar->setPreventDoubleSubmission(true);
87 }
global $lng
Definition: privfeed.php:31

References $lng, and ILIAS\Repository\toolbar().

+ Here is the call graph for this function:

Member Function Documentation

◆ acknowledgeCourses()

ilObjStudyProgrammeMembersGUI::acknowledgeCourses ( )

Definition at line 662 of file class.ilObjStudyProgrammeMembersGUI.php.

662 : string
663 {
664 $progress_id = $this->getPrgrsId();
665 $assignments = [
666 $this->assignment_db->get($progress_id->getAssignmentId())
667 ];
668 return $this->ui_renderer->render(
669 $this->viewCompletedCourses($assignments)
670 );
671 }
viewCompletedCourses(array $assignments)
Shows list of completed courses for each assignment.

References getPrgrsId(), and viewCompletedCourses().

+ Here is the call graph for this function:

◆ acknowledgeCoursesMulti()

ilObjStudyProgrammeMembersGUI::acknowledgeCoursesMulti ( )

Definition at line 673 of file class.ilObjStudyProgrammeMembersGUI.php.

673 : string
674 {
675 $assignments = [];
676 foreach ($this->getPostPrgsIds() as $progress_id) {
677 $assignments[] = $this->assignment_db->get($progress_id->getAssignmentId());
678 }
679 return $this->ui_renderer->render(
680 $this->viewCompletedCourses($assignments)
681 );
682 }

References getPostPrgsIds(), and viewCompletedCourses().

+ Here is the call graph for this function:

◆ addUsers()

ilObjStudyProgrammeMembersGUI::addUsers ( array  $user_ids)

Assigns a users to SP.

Parameters
string[]$user_ids
Returns
bool|void

Definition at line 357 of file class.ilObjStudyProgrammeMembersGUI.php.

358 {
359 $user_ids = $this->getAddableUsers($user_ids);
360 $prg = $this->getStudyProgramme();
361 $assignments = [];
362 $with_courses = [];
363
364 foreach ($user_ids as $user_id) {
365 $ass = $prg->assignUser((int) $user_id);
366 $assignments[] = $ass;
367 if ($prg->getCompletedCourses($ass)) {
368 $with_courses[] = $ass;
369 }
370 }
371
372 if (count($assignments) === 1) {
373 $this->tpl->setOnScreenMessage("success", $this->lng->txt("prg_added_member"), true);
374 }
375 if (count($assignments) > 1) {
376 $this->tpl->setOnScreenMessage("success", $this->lng->txt("prg_added_members"), true);
377 }
378
379 if ($with_courses) {
380 $this->tpl->setContent(
381 $this->ui_renderer->render(
382 $this->viewCompletedCourses($assignments)
383 )
384 );
385 return true;
386
387 } else {
388 $this->ctrl->redirect($this, "view");
389 }
390 }
getStudyProgramme(?int $ref_id=null)
Get studyprogramm object for ref_id Use this ref_id if argument is null.

References $user_id, ILIAS\Repository\ctrl(), getAddableUsers(), getStudyProgramme(), and ILIAS\Repository\lng().

+ Here is the call graph for this function:

◆ applyFilter()

ilObjStudyProgrammeMembersGUI::applyFilter ( )

Definition at line 336 of file class.ilObjStudyProgrammeMembersGUI.php.

336 : void
337 {
338 $table = $this->getMembersTableGUI();
339 $table->resetOffset();
340 $table->writeFilterToSession();
341 $this->ctrl->redirect($this, "view");
342 }

References ILIAS\Repository\ctrl(), and getMembersTableGUI().

+ Here is the call graph for this function:

◆ changeDeadline()

ilObjStudyProgrammeMembersGUI::changeDeadline ( )

Definition at line 754 of file class.ilObjStudyProgrammeMembersGUI.php.

754 : void
755 {
756 $this->ctrl->setParameterByClass(
757 'ilStudyProgrammeChangeDeadlineGUI',
758 'prgrs_ids',
759 $this->getPrgrsId()
760 );
761
762 $link = $this->ctrl->getLinkTargetByClass(
763 'ilStudyProgrammeChangeDeadlineGUI',
764 'showDeadlineConfig'
765 );
766
767 $this->ctrl->clearParameterByClass('ilStudyProgrammeChangeDeadlineGUI', 'prgrs_ids');
768 $this->ctrl->redirectToURL($link);
769 }

References ILIAS\Repository\ctrl(), and getPrgrsId().

+ Here is the call graph for this function:

◆ changeDeadlineMulti()

ilObjStudyProgrammeMembersGUI::changeDeadlineMulti ( )

Definition at line 771 of file class.ilObjStudyProgrammeMembersGUI.php.

771 : void
772 {
773 $this->ctrl->setParameterByClass(
774 'ilStudyProgrammeChangeDeadlineGUI',
775 'prgrs_ids',
776 implode(',', $this->getPostPrgsIds())
777 );
778
779 $link = $this->ctrl->getLinkTargetByClass(
780 'ilStudyProgrammeChangeDeadlineGUI',
781 'showDeadlineConfig'
782 );
783
784 $this->ctrl->clearParameterByClass('ilStudyProgrammeChangeDeadlineGUI', 'prgrs_ids');
785 $this->ctrl->redirectToURL($link);
786 }

References ILIAS\Repository\ctrl(), and getPostPrgsIds().

+ Here is the call graph for this function:

◆ changeExpireDate()

ilObjStudyProgrammeMembersGUI::changeExpireDate ( )

Definition at line 788 of file class.ilObjStudyProgrammeMembersGUI.php.

788 : void
789 {
790 $this->ctrl->setParameterByClass(
791 'ilStudyProgrammeChangeExpireDateGUI',
792 'prgrs_ids',
793 $this->getPrgrsId()
794 );
795
796 $link = $this->ctrl->getLinkTargetByClass(
797 'ilStudyProgrammeChangeExpireDateGUI',
798 'showExpireDateConfig'
799 );
800
801 $this->ctrl->clearParameterByClass('ilStudyProgrammeChangeExpireDateGUI', 'prgrs_ids');
802 $this->ctrl->redirectToURL($link);
803 }

References ILIAS\Repository\ctrl(), and getPrgrsId().

+ Here is the call graph for this function:

◆ changeExpireDateMulti()

ilObjStudyProgrammeMembersGUI::changeExpireDateMulti ( )

Definition at line 805 of file class.ilObjStudyProgrammeMembersGUI.php.

805 : void
806 {
807 $this->ctrl->setParameterByClass(
808 'ilStudyProgrammeChangeExpireDateGUI',
809 'prgrs_ids',
810 implode(',', $this->getPostPrgsIds())
811 );
812
813 $link = $this->ctrl->getLinkTargetByClass(
814 'ilStudyProgrammeChangeExpireDateGUI',
815 'showExpireDateConfig'
816 );
817
818 $this->ctrl->clearParameterByClass('ilStudyProgrammeChangeExpireDateGUI', 'prgrs_ids');
819 $this->ctrl->redirectToURL($link);
820 }

References ILIAS\Repository\ctrl(), and getPostPrgsIds().

+ Here is the call graph for this function:

◆ confirmedAcknowledgeAllCourses()

ilObjStudyProgrammeMembersGUI::confirmedAcknowledgeAllCourses ( )

Definition at line 701 of file class.ilObjStudyProgrammeMembersGUI.php.

702 {
703 $prg = $this->getStudyProgramme();
704 $assignments = $this->getAssignmentsFromQuery();
705 $msgs = $this->getMessageCollection('msg_acknowledge_courses');
706
707 foreach ($assignments as $ass) {
708 $ass_ids[] = $ass->getId();
709 $completed_crss = $prg->getCompletedCourses($ass);
710 $nodes = [];
711 foreach ($completed_crss as $opt) {
712 $nodes[] = [$opt['prg_obj_id'], $opt['crs_id']];
713 }
714 $prg->acknowledgeCourses(
715 $ass->getId(),
716 $nodes,
717 $msgs
718 );
719 }
720 $this->showMessages($msgs);
721 $this->ctrl->redirect($this, "view");
722 }

References ILIAS\Repository\ctrl(), getAssignmentsFromQuery(), getMessageCollection(), getStudyProgramme(), and showMessages().

Referenced by executeCommand().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ confirmedAcknowledgeCourses()

ilObjStudyProgrammeMembersGUI::confirmedAcknowledgeCourses ( )

Definition at line 724 of file class.ilObjStudyProgrammeMembersGUI.php.

725 {
726 $assignments = $this->getAssignmentsFromQuery();
727
728 $form = $this->viewCompletedCourses($assignments)->withRequest($this->request);
729 $data = $form->getData();
730
731 $msgs = $this->getMessageCollection('msg_acknowledge_courses');
732
733 if ($data) {
734 $acknowledge = [];
735 foreach ($data as $ack) {
736 [$assignment_id, $node_obj_id, $course_obj_id] = $ack;
737 if (! array_key_exists($assignment_id, $acknowledge)) {
738 $acknowledge[$assignment_id] = [];
739 }
740 $acknowledge[$assignment_id][] = [(int) $node_obj_id, (int) $course_obj_id];
741 }
742 foreach ($acknowledge as $ass_id => $nodes) {
743 $this->object->acknowledgeCourses(
744 (int) $ass_id,
745 $nodes,
746 $msgs
747 );
748 }
749 $this->showMessages($msgs);
750 }
751 $this->ctrl->redirect($this, "view");
752 }

References $ass_id, $data, ILIAS\Repository\ctrl(), getAssignmentsFromQuery(), getMessageCollection(), ILIAS\Repository\int(), showMessages(), and viewCompletedCourses().

Referenced by executeCommand().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ confirmedRemovalOfCertificate()

ilObjStudyProgrammeMembersGUI::confirmedRemovalOfCertificate ( )

Definition at line 1146 of file class.ilObjStudyProgrammeMembersGUI.php.

1146 : void
1147 {
1148 $msgs = $this->getMessageCollection('msg_remove_certificate');
1149 $pgs_ids = $this->getPostPrgsIds();
1150 foreach ($pgs_ids as $idx => $prgs_id) {
1151 if (!$this->mayCurrentUserEditProgressForUser($prgs_id->getUsrId())) {
1152 $this->showInfoMessage("no_permission_to_remove_certificate");
1153 } else {
1155 $prgs_id->getNodeId(),
1156 $prgs_id->getUsrId(),
1157 );
1158 }
1159 }
1160 $this->showSuccessMessage("successfully_removed_certificate");
1161 $this->ctrl->redirect($this, "view");
1162 }
showInfoMessage(string $lng_var)
Shows ilUtil failed message.
showSuccessMessage(string $lng_var)
Shows ilUtil success message.
removeCertificateForUser(int $node_id, int $usr_id,)

References ILIAS\Repository\ctrl(), getMessageCollection(), getPostPrgsIds(), mayCurrentUserEditProgressForUser(), removeCertificateForUser(), showInfoMessage(), and showSuccessMessage().

Referenced by executeCommand().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ confirmedRemoveUsers()

ilObjStudyProgrammeMembersGUI::confirmedRemoveUsers ( )
protected

Definition at line 852 of file class.ilObjStudyProgrammeMembersGUI.php.

852 : void
853 {
854 $pgs_ids = $this->getPostPrgsIds();
855 $not_removed = array();
856 foreach ($pgs_ids as $idx => $pgs_id) {
857 try {
858 $this->removeAssignment($pgs_id);
859 } catch (ilException $e) {
860 $not_removed[] = $pgs_id;
861 }
862 }
863 if (count($not_removed) === count($pgs_ids)) {
864 $this->showInfoMessage("remove_users_not_possible");
865 } elseif (count($not_removed) > 0) {
866 $this->showSuccessMessage("remove_users_partial_success");
867 } else {
868 $this->showSuccessMessage("remove_users_success");
869 }
870 $this->ctrl->redirect($this, "view");
871 }
Base class for ILIAS Exception handling.
removeAssignment(PRGProgressId $pgs_id)
Remove user.

References Vendor\Package\$e, ILIAS\Repository\ctrl(), getPostPrgsIds(), removeAssignment(), showInfoMessage(), and showSuccessMessage().

Referenced by executeCommand().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ confirmedUpdateCertificate()

ilObjStudyProgrammeMembersGUI::confirmedUpdateCertificate ( )

Definition at line 1081 of file class.ilObjStudyProgrammeMembersGUI.php.

1081 : void
1082 {
1083 $msgs = $this->getMessageCollection('msg_update_certificate');
1084 foreach ($this->getPostPrgsIds() as $idx => $prgs_id) {
1085 if (!$this->mayCurrentUserEditProgressForUser($prgs_id->getUsrId())) {
1086 $this->showInfoMessage("no_permission_to_update_certificate");
1087 } else {
1088
1089 $assignment = $this->assignment_db->get($prgs_id->getAssignmentId());
1090 $progress = $assignment->getProgressForNode($prgs_id->getNodeId());
1091 if (!$progress->isSuccessful()) {
1092 $msgs->add(false, 'will_not_update_cert_for_unsuccessful_progress', (string) $prgs_id);
1093 continue;
1094 }
1095
1096 if ($this->updateCertificateForPrg(
1097 $prgs_id->getNodeId(),
1098 $prgs_id->getUsrId()
1099 )) {
1100 $msgs->add(true, '', (string) $prgs_id);
1101 } else {
1102 $msgs->add(false, 'error_updating_certificate', (string) $prgs_id);
1103 }
1104 }
1105 }
1106 $this->showMessages($msgs);
1107 $this->ctrl->redirect($this, "view");
1108 }
updateCertificateForPrg(int $obj_id, int $usr_id)

References ILIAS\Repository\ctrl(), getMessageCollection(), getPostPrgsIds(), mayCurrentUserEditProgressForUser(), showInfoMessage(), showMessages(), and updateCertificateForPrg().

Referenced by executeCommand().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ confirmedUpdateFromCurrentPlan()

ilObjStudyProgrammeMembersGUI::confirmedUpdateFromCurrentPlan ( )

Definition at line 640 of file class.ilObjStudyProgrammeMembersGUI.php.

641 {
642 $pgs_ids = $this->getPostPrgsIds();
643 $msgs = $this->getMessageCollection('msg_update_from_settings');
644 foreach ($pgs_ids as $idx => $pgs_id) {
645 if (!$this->mayCurrentUserEditProgressForUser($pgs_id->getUsrId())) {
646 $msgs->add(false, 'no_permission_to_update_plan_of_user', (string) $pgs_id);
647 continue;
648 } else {
649 $msgs->add(true, '', (string) $pgs_id);
650 }
651
652 $this->object->updatePlanFromRepository(
653 $pgs_id->getAssignmentId(),
654 $this->user->getId(),
655 $msgs
656 );
657 }
658 $this->showMessages($msgs);
659 $this->ctrl->redirect($this, "view");
660 }

References ILIAS\Repository\ctrl(), getMessageCollection(), getPostPrgsIds(), mayCurrentUserEditProgressForUser(), and showMessages().

Referenced by executeCommand().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ confirmRemoveUsers()

ilObjStudyProgrammeMembersGUI::confirmRemoveUsers ( array  $progress_ids)
protected

Definition at line 834 of file class.ilObjStudyProgrammeMembersGUI.php.

834 : string
835 {
836 $this->confirmation_gui->setFormAction($this->ctrl->getFormAction($this));
837 $this->confirmation_gui->setHeaderText($this->lng->txt('confirm_to_remove_selected_assignments'));
838 $this->confirmation_gui->setConfirm($this->lng->txt('prg_remove_user'), 'confirmedRemoveUsers');
839 $this->confirmation_gui->setCancel($this->lng->txt('cancel'), 'view');
840
841 foreach ($progress_ids as $progress_id) {
842 $user_name = ilObjUser::_lookupFullname($progress_id->getUsrId());
843 $this->confirmation_gui->addItem(
844 self::F_SELECTED_PROGRESS_IDS . '[]',
845 (string) $progress_id,
846 $user_name
847 );
848 }
849 return $this->confirmation_gui->getHTML();
850 }
static _lookupFullname(int $a_user_id)

References ilObjUser\_lookupFullname(), ILIAS\Repository\ctrl(), and ILIAS\Repository\lng().

Referenced by removeUser(), and removeUserMulti().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ deliverCertificate()

ilObjStudyProgrammeMembersGUI::deliverCertificate ( int  $obj_id,
int  $usr_id 
)
protected

Definition at line 1164 of file class.ilObjStudyProgrammeMembersGUI.php.

1164 : void
1165 {
1166 $repository = new ilUserCertificateRepository();
1167 $pdf_action = new ilCertificatePdfAction(
1168 new ilPdfGenerator($repository),
1170 $this->lng->txt('error_creating_certificate_pdf')
1171 );
1172 $pdf_action->downloadPdf($usr_id, $obj_id);
1173 }
Just a wrapper class to create Unit Test for other classes.

References ILIAS\Repository\lng().

Referenced by executeCommand().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ executeCommand()

ilObjStudyProgrammeMembersGUI::executeCommand ( )

Definition at line 101 of file class.ilObjStudyProgrammeMembersGUI.php.

101 : void
102 {
103 $cmd = $this->ctrl->getCmd();
104 $next_class = $this->ctrl->getNextClass($this);
105
106 if ($cmd === "" || $cmd === null) {
107 $cmd = $this->getDefaultCommand();
108 }
109
110 switch ($next_class) {
111 case "ilstudyprogrammerepositorysearchgui":
112 $this->repository_search_gui->setCallback($this, "addUsers");
113 $this->ctrl->setReturn($this, "view");
114 $this->ctrl->forwardCommand($this->repository_search_gui);
115 break;
116 case "ilobjstudyprogrammeindividualplangui":
117 $this->individual_plan_gui->setParentGUI($this);
118 $this->individual_plan_gui->setRefId($this->ref_id);
119 $this->ctrl->forwardCommand($this->individual_plan_gui);
120 break;
121 case "ilstudyprogrammemailmembersearchgui":
122 $this->tabs->clearTargets();
123 $this->tabs->setBackTarget(
124 $this->lng->txt('btn_back'),
125 $this->ctrl->getLinkTarget($this, $this->getDefaultCommand())
126 );
128 $mail_search = $dic['ilStudyProgrammeMailMemberSearchGUI'];
129 $mail_search->setAssignments($this->getAssignmentsById());
130 $mail_search->setBackTarget(
131 $this->ctrl->getLinkTarget($this, $this->getDefaultCommand())
132 );
133 $this->ctrl->forwardCommand($mail_search);
134 break;
135 case "ilstudyprogrammechangeexpiredategui":
136 $this->tabs->clearTargets();
137 $this->tabs->setBackTarget(
138 $this->lng->txt('btn_back'),
139 $this->ctrl->getLinkTarget($this, $this->getDefaultCommand())
140 );
142 $gui = $dic['ilStudyProgrammeChangeExpireDateGUI'];
143 $gui->setRefId($this->ref_id);
144 $gui->setProgressIds($this->getGetPrgsIds());
145 $this->ctrl->forwardCommand($gui);
146 break;
147 case "ilstudyprogrammechangedeadlinegui":
148 $this->tabs->clearTargets();
149 $this->tabs->setBackTarget(
150 $this->lng->txt('btn_back'),
151 $this->ctrl->getLinkTarget($this, $this->getDefaultCommand())
152 );
154 $gui = $dic['ilStudyProgrammeChangeDeadlineGUI'];
155 $gui->setRefId($this->ref_id);
156 $gui->setProgressIds($this->getGetPrgsIds());
157 $this->ctrl->forwardCommand($gui);
158 break;
159 case false:
160 switch ($cmd) {
161 case "view":
162 case "markAccredited":
163 case "markAccreditedMulti":
164 case "unmarkAccredited":
165 case "unmarkAccreditedMulti":
166 case "removeUser":
167 case "removeUserMulti":
168 case "markNotRelevantMulti":
169 case "markRelevant":
170 case "markRelevantMulti":
171 case "updateFromCurrentPlan":
172 case "updateFromCurrentPlanMulti":
173 case "acknowledgeCourses":
174 case "acknowledgeCoursesMulti":
175 case "applyFilter":
176 case "resetFilter":
177 case "changeDeadline":
178 case "changeDeadlineMulti":
179 case "changeExpireDate":
180 case "changeExpireDateMulti":
181 case "updateCertificate":
182 case "updateCertificateMulti":
183 case "removeCertificate":
184 case "removeCertificateMulti":
185 $cont = $this->$cmd();
186 $this->tpl->setContent($cont);
187 break;
188 case "confirmedRemoveUsers":
189 $this->confirmedRemoveUsers();
190 break;
191 case "confirmedUpdateFromCurrentPlan":
193 break;
194 case "confirmedAcknowledgeCourses":
196 break;
197 case "confirmedAcknowledgeAllCourses":
199 break;
200 case "mailUserMulti":
201 $this->mailToSelectedUsers();
202 break;
203 case "markNotRelevant":
204 $this->markNotRelevant();
205 break;
206 case "confirmedUpdateCertificate":
208 break;
209 case "confirmedRemovalOfCertificate":
211 break;
212 case "deliverCertificate":
213 if (!$this->permissions->may(ilOrgUnitOperation::OP_MANAGE_MEMBERS)) {
214 $this->tpl->setOnScreenMessage("failure", $this->lng->txt("permission_denied"), true);
215 $this->ctrl->redirect($this, "view");
216 }
217 $usr_id = $this->http_wrapper->query()->retrieve(
218 'cert_usr_id',
219 $this->refinery->kindlyTo()->int()
220 );
221 $this->deliverCertificate($this->object->getId(), $usr_id);
222 break;
223
224 default:
225 throw new ilException("ilObjStudyProgrammeMembersGUI: Command not supported: $cmd");
226 }
227 break;
228 default:
229 throw new ilException(
230 "ilObjStudyProgrammeMembersGUI: Can't forward to next class $next_class"
231 );
232 }
233 }
static specificDicFor(ilObjStudyProgramme $prg)
$dic
Definition: ltiresult.php:33

References $dic, confirmedAcknowledgeAllCourses(), confirmedAcknowledgeCourses(), confirmedRemovalOfCertificate(), confirmedRemoveUsers(), confirmedUpdateCertificate(), confirmedUpdateFromCurrentPlan(), ILIAS\Repository\ctrl(), deliverCertificate(), ilStudyProgrammeDIC\dic(), getAssignmentsById(), getDefaultCommand(), getGetPrgsIds(), ILIAS\Repository\lng(), mailToSelectedUsers(), markNotRelevant(), ILIAS\Repository\object(), ilOrgUnitOperation\OP_MANAGE_MEMBERS, ILIAS\Repository\refinery(), ilStudyProgrammeDIC\specificDicFor(), and ILIAS\Repository\tabs().

+ Here is the call graph for this function:

◆ getAddableUsers()

ilObjStudyProgrammeMembersGUI::getAddableUsers ( array  $users)
protected
Parameters
int[]$users

Definition at line 462 of file class.ilObjStudyProgrammeMembersGUI.php.

462 : array
463 {
464 $to_add = $this->permissions->filterUserIds(
465 $users,
467 );
468
469 $cnt_not_added = count($users) - count($to_add);
470 if ($cnt_not_added > 0) {
471 $this->tpl->setOnScreenMessage(
472 "info",
473 sprintf(
474 $this->lng->txt('could_not_add_users_no_permissons'),
475 $cnt_not_added
476 ),
477 true
478 );
479 }
480 return $to_add;
481 }

References ILIAS\Repository\lng(), and ilOrgUnitOperation\OP_MANAGE_MEMBERS.

Referenced by addUsers().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getAssignmentsById()

ilObjStudyProgrammeMembersGUI::getAssignmentsById ( )
protected

Definition at line 240 of file class.ilObjStudyProgrammeMembersGUI.php.

240 : array
241 {
242 return $this->assignment_db->getAllForNodeIsContained($this->object->getId());
243 }

References ILIAS\Repository\object().

Referenced by executeCommand(), and mailToSelectedUsers().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getAssignmentsFromQuery()

ilObjStudyProgrammeMembersGUI::getAssignmentsFromQuery ( )
protected
Returns
ilPRGAssignment[]

Definition at line 687 of file class.ilObjStudyProgrammeMembersGUI.php.

687 : array
688 {
689 $ass_ids = $this->http_wrapper->query()->retrieve(
690 'ass_ids',
691 $this->refinery->custom()->transformation(fn($ids) => explode(',', $ids))
692 );
693 $prg = $this->getStudyProgramme();
694 $assignments = array_map(
695 fn($ass_id) => $this->assignment_db->get((int) $ass_id),
696 $ass_ids
697 );
698 return $assignments;
699 }

References $ass_id, getStudyProgramme(), and ILIAS\Repository\refinery().

Referenced by confirmedAcknowledgeAllCourses(), and confirmedAcknowledgeCourses().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getDefaultCommand()

ilObjStudyProgrammeMembersGUI::getDefaultCommand ( )
protected

Definition at line 235 of file class.ilObjStudyProgrammeMembersGUI.php.

235 : string
236 {
237 return self::DEFAULT_CMD;
238 }

References DEFAULT_CMD.

Referenced by executeCommand().

+ Here is the caller graph for this function:

◆ getGetPrgsIds()

ilObjStudyProgrammeMembersGUI::getGetPrgsIds ( )
protected

Definition at line 299 of file class.ilObjStudyProgrammeMembersGUI.php.

299 : array
300 {
301 $prgrs_ids = $_GET['prgrs_ids'];
302 $ids = [];
303 if (!is_null($prgrs_ids)) {
304 foreach (explode(',', $prgrs_ids) as $id) {
306 };
307 }
308 return $ids;
309 }
$id
plugin.php for ilComponentBuildPluginInfoObjectiveTest::testAddPlugins
Definition: plugin.php:23
static createFromString(string $id)
$_GET['cmd']
Definition: lti.php:26

References $_GET, $id, and PRGProgressId\createFromString().

Referenced by executeCommand().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getLinkTargetForAction()

ilObjStudyProgrammeMembersGUI::getLinkTargetForAction ( string  $action,
string  $prgrs_id,
int  $ass_id 
)

Get the link target for an action on user progress.

Definition at line 957 of file class.ilObjStudyProgrammeMembersGUI.php.

957 : string
958 {
959 switch ($action) {
961 $target_name = "markAccredited";
962 break;
964 $target_name = "unmarkAccredited";
965 break;
967 return $this->individual_plan_gui->getLinkTargetView($ass_id);
969 $target_name = "removeUser";
970 break;
972 $target_name = "markNotRelevant";
973 break;
975 $target_name = "markRelevant";
976 break;
978 $target_name = "updateFromCurrentPlan";
979 break;
981 $target_name = "acknowledgeCourses";
982 break;
984 $target_name = "changeDeadline";
985 break;
987 $target_name = "changeExpireDate";
988 break;
990 $target_name = "updateCertificate";
991 break;
993 $target_name = "removeCertificate";
994 break;
995 default:
996 throw new ilException("Unknown action: $action");
997 }
998
999 $this->ctrl->setParameter($this, "prgrs_id", $prgrs_id);
1000 $link = $this->ctrl->getLinkTarget($this, $target_name);
1001 $this->ctrl->setParameter($this, "prgrs_id", null);
1002 return $link;
1003 }

References $ass_id, ACTION_ACKNOWLEDGE_COURSES, ACTION_CHANGE_DEADLINE, ACTION_CHANGE_EXPIRE_DATE, ACTION_MARK_ACCREDITED, ACTION_MARK_RELEVANT, ACTION_REMOVE_CERTIFICATE, ACTION_REMOVE_USER, ACTION_SHOW_INDIVIDUAL_PLAN, ACTION_UNMARK_ACCREDITED, ACTION_UNMARK_RELEVANT, ACTION_UPDATE_CERTIFICATE, ACTION_UPDATE_FROM_CURRENT_PLAN, and ILIAS\Repository\ctrl().

+ Here is the call graph for this function:

◆ getMembersTableGUI()

ilObjStudyProgrammeMembersGUI::getMembersTableGUI ( )
protected

Definition at line 245 of file class.ilObjStudyProgrammeMembersGUI.php.

246 {
247 $prg_id = ilObject::_lookupObjId($this->ref_id);
250 $prg_id,
251 $this->ref_id,
252 $this,
253 $this->permissions,
254 $this->data_factory,
255 $dic['ui.factory'],
256 $dic['ui.renderer'],
257 $dic['ilStudyProgrammeUserTable'],
258 $dic['filter.assignment'],
259 $this->user,
260 "view",
261 ""
262 );
263 return $table;
264 }
static _lookupObjId(int $ref_id)

References $dic, ilObject\_lookupObjId(), ilStudyProgrammeDIC\specificDicFor(), and ILIAS\Repository\user().

Referenced by applyFilter(), resetFilter(), and view().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getMessageCollection()

ilObjStudyProgrammeMembersGUI::getMessageCollection ( string  $topic)
protected

Definition at line 1013 of file class.ilObjStudyProgrammeMembersGUI.php.

1014 {
1015 return $this->messages->getMessageCollection($topic);
1016 }
Holds information about multi-actions, mainly in context of member-assignemnts and status changes.

Referenced by confirmedAcknowledgeAllCourses(), confirmedAcknowledgeCourses(), confirmedRemovalOfCertificate(), confirmedUpdateCertificate(), confirmedUpdateFromCurrentPlan(), markAccredited(), markAccreditedMulti(), markNotRelevant(), markNotRelevantMulti(), markRelevant(), markRelevantMulti(), unmarkAccredited(), and unmarkAccreditedMulti().

+ Here is the caller graph for this function:

◆ getPostPrgsIds()

ilObjStudyProgrammeMembersGUI::getPostPrgsIds ( )
protected
Returns
PRGProgressId[]

Definition at line 269 of file class.ilObjStudyProgrammeMembersGUI.php.

269 : array
270 {
271 if ($this->http_wrapper->post()->has(self::F_COMMAND_OPTION_ALL)) {
272 $pgs_ids = $this->http_wrapper->post()->retrieve(
273 self::F_ALL_PROGRESS_IDS,
274 $this->refinery->custom()->transformation(
275 fn($ids) => explode(',', $ids)
276 )
277 );
278 } else {
279 $pgs_ids = $this->http_wrapper->post()->retrieve(
280 self::F_SELECTED_PROGRESS_IDS,
281 $this->refinery->custom()->transformation(fn($ids) => $ids)
282 );
283 }
284 if ($pgs_ids === null) {
285 $this->showInfoMessage("no_user_selected");
286 $this->ctrl->redirect($this, "view");
287 }
288 if (is_string($pgs_ids)) {
289 $pgs_ids = [$pgs_ids];
290 }
291
292 $r = [];
293 foreach ($pgs_ids as $pgs_id) {
294 $r[] = PRGProgressId::createFromString($pgs_id);
295 }
296 return $r;
297 }

References PRGProgressId\createFromString(), ILIAS\Repository\ctrl(), ILIAS\Repository\refinery(), and showInfoMessage().

Referenced by acknowledgeCoursesMulti(), changeDeadlineMulti(), changeExpireDateMulti(), confirmedRemovalOfCertificate(), confirmedRemoveUsers(), confirmedUpdateCertificate(), confirmedUpdateFromCurrentPlan(), mailToSelectedUsers(), markAccreditedMulti(), markNotRelevantMulti(), markRelevantMulti(), removeCertificateMulti(), removeUserMulti(), unmarkAccreditedMulti(), updateCertificateMulti(), and updateFromCurrentPlanMulti().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getPrgrsId()

ilObjStudyProgrammeMembersGUI::getPrgrsId ( )
protected

Definition at line 311 of file class.ilObjStudyProgrammeMembersGUI.php.

312 {
313 if (!$_GET["prgrs_id"]) {
314 throw new ilException("Expected 'prgrs_id'");
315 }
316 return PRGProgressId::createFromString($_GET["prgrs_id"]);
317 }

References $_GET, and PRGProgressId\createFromString().

Referenced by acknowledgeCourses(), changeDeadline(), changeExpireDate(), markAccredited(), markNotRelevant(), markRelevant(), removeCertificate(), removeUser(), unmarkAccredited(), updateCertificate(), and updateFromCurrentPlan().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getStudyProgramme()

ilObjStudyProgrammeMembersGUI::getStudyProgramme ( ?int  $ref_id = null)

◆ initMailToMemberButton()

ilObjStudyProgrammeMembersGUI::initMailToMemberButton ( ilToolbarGUI  $toolbar,
bool  $separator = false 
)
protected

Definition at line 925 of file class.ilObjStudyProgrammeMembersGUI.php.

925 : void
926 {
927 if ($separator) {
928 $toolbar->addSeparator();
929 }
930
931 $toolbar->addComponent(
932 $this->ui_factory->link()->standard(
933 $this->lng->txt('mail_assignments'),
934 $this->ctrl->getLinkTargetByClass(
935 'ilStudyProgrammeMailMemberSearchGUI',
936 'showSelectableUsers'
937 )
938 )
939 );
940 }
addComponent(\ILIAS\UI\Component\Component $a_comp)

References ilToolbarGUI\addComponent(), and ilToolbarGUI\addSeparator().

Referenced by view().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ initSearchGUI()

ilObjStudyProgrammeMembersGUI::initSearchGUI ( )
protected

Definition at line 912 of file class.ilObjStudyProgrammeMembersGUI.php.

912 : void
913 {
915 $this,
916 $this->toolbar,
917 array(
918 "auto_complete_name" => $this->lng->txt("user"),
919 "submit_name" => $this->lng->txt("add"),
920 "add_search" => true
921 )
922 );
923 }
static fillAutoCompleteToolbar( $parent_object, ?ilToolbarGUI $toolbar=null, $a_options=array(), $a_sticky=false)
This is just the same as in the parent class, except for the hardcoded class name.

References ilStudyProgrammeRepositorySearchGUI\fillAutoCompleteToolbar(), ILIAS\Repository\lng(), and ILIAS\Repository\toolbar().

Referenced by view().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ mailToSelectedUsers()

ilObjStudyProgrammeMembersGUI::mailToSelectedUsers ( )
protected

Definition at line 1023 of file class.ilObjStudyProgrammeMembersGUI.php.

1023 : void
1024 {
1026 $gui = $dic['ilStudyProgrammeMailMemberSearchGUI'];
1027 $selected = $this->getPostPrgsIds();
1028 $selected_ids = array_map(
1029 fn($id) => $id->getAssignmentId(),
1030 $selected
1031 );
1032
1033 $assignments = array_filter(
1034 $this->getAssignmentsById(),
1035 fn($ass) => in_array($ass->getId(), $selected_ids)
1036 );
1037 $gui->setAssignments($assignments);
1038 $this->tabs->clearTargets();
1039 $this->tabs->setBackTarget(
1040 $this->lng->txt('btn_back'),
1041 $this->ctrl->getLinkTarget($this, $this->getDefaultCommand())
1042 );
1043 $this->ctrl->forwardCommand($gui);
1044 }

References $dic, $id, ILIAS\Repository\ctrl(), getAssignmentsById(), getPostPrgsIds(), ILIAS\Repository\lng(), ilStudyProgrammeDIC\specificDicFor(), and ILIAS\Repository\tabs().

Referenced by executeCommand().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ markAccredited()

ilObjStudyProgrammeMembersGUI::markAccredited ( )
protected

Definition at line 483 of file class.ilObjStudyProgrammeMembersGUI.php.

483 : void
484 {
485 $prgrs_id = $this->getPrgrsId();
486 $msgs = $this->getMessageCollection('msg_mark_accredited');
487 $this->markAccreditedByProgressId($prgrs_id, $msgs);
488 $this->showMessages($msgs);
489 $this->ctrl->redirect($this, "view");
490 }
markAccreditedByProgressId(PRGProgressId $prgrs_id, ilPRGMessageCollection $msgs)

References ILIAS\Repository\ctrl(), getMessageCollection(), getPrgrsId(), markAccreditedByProgressId(), and showMessages().

+ Here is the call graph for this function:

◆ markAccreditedByProgressId()

ilObjStudyProgrammeMembersGUI::markAccreditedByProgressId ( PRGProgressId  $prgrs_id,
ilPRGMessageCollection  $msgs 
)
protected

Definition at line 503 of file class.ilObjStudyProgrammeMembersGUI.php.

503 : void
504 {
505 $usr_id = $prgrs_id->getUsrId();
506 if (!$this->mayCurrentUserEditProgressForUser($usr_id)) {
507 $msgs->add(false, 'No permission to edit progress of user', (string) $prgrs_id);
508 } else {
509 $programme = $this->getStudyProgramme();
510 $programme->markAccredited($prgrs_id->getAssignmentId(), $this->user->getId(), $msgs);
511 }
512 }
add(bool $success, string $message, string $record_identitifer)

References ilPRGMessageCollection\add(), PRGProgressId\getAssignmentId(), getStudyProgramme(), PRGProgressId\getUsrId(), and mayCurrentUserEditProgressForUser().

Referenced by markAccredited(), and markAccreditedMulti().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ markAccreditedMulti()

ilObjStudyProgrammeMembersGUI::markAccreditedMulti ( )
protected

Definition at line 492 of file class.ilObjStudyProgrammeMembersGUI.php.

492 : void
493 {
494 $prgrs_ids = $this->getPostPrgsIds();
495 $msgs = $this->getMessageCollection('msg_mark_accredited');
496 foreach ($prgrs_ids as $key => $prgrs_id) {
497 $this->markAccreditedByProgressId($prgrs_id, $msgs);
498 }
499 $this->showMessages($msgs);
500 $this->ctrl->redirect($this, "view");
501 }

References ILIAS\Repository\ctrl(), getMessageCollection(), getPostPrgsIds(), markAccreditedByProgressId(), and showMessages().

+ Here is the call graph for this function:

◆ markNotRelevant()

ilObjStudyProgrammeMembersGUI::markNotRelevant ( )

Definition at line 575 of file class.ilObjStudyProgrammeMembersGUI.php.

575 : void
576 {
577 $prgrs_id = $this->getPrgrsId();
578 $msgs = $this->getMessageCollection('msg_mark_not_relevant');
579 $programme = $this->getStudyProgramme();
580 if (!$this->mayCurrentUserEditProgressForUser($prgrs_id->getUsrId())) {
581 $msgs->add(false, 'No permission to edit progress of user', (string) $prgrs_id);
582 } else {
583 $programme->markNotRelevant($prgrs_id->getAssignmentId(), $this->user->getId(), $msgs);
584 }
585 $this->showMessages($msgs);
586 $this->ctrl->redirect($this, "view");
587 }

References ILIAS\Repository\ctrl(), getMessageCollection(), getPrgrsId(), getStudyProgramme(), mayCurrentUserEditProgressForUser(), and showMessages().

Referenced by executeCommand().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ markNotRelevantMulti()

ilObjStudyProgrammeMembersGUI::markNotRelevantMulti ( )

Definition at line 589 of file class.ilObjStudyProgrammeMembersGUI.php.

589 : void
590 {
591 $prgrs_ids = $this->getPostPrgsIds();
592 $msgs = $this->getMessageCollection('msg_mark_not_relevant');
593 $programme = $this->getStudyProgramme();
594 foreach ($prgrs_ids as $key => $prgrs_id) {
595 if (!$this->mayCurrentUserEditProgressForUser($prgrs_id->getUsrId())) {
596 $msgs->add(false, 'No permission to edit progress of user', (string) $prgrs_id);
597 } else {
598 $programme->markNotRelevant($prgrs_id->getAssignmentId(), $this->user->getId(), $msgs);
599 }
600 }
601 $this->showMessages($msgs);
602 $this->ctrl->redirect($this, "view");
603 }

References ILIAS\Repository\ctrl(), getMessageCollection(), getPostPrgsIds(), getStudyProgramme(), mayCurrentUserEditProgressForUser(), and showMessages().

+ Here is the call graph for this function:

◆ markRelevant()

ilObjStudyProgrammeMembersGUI::markRelevant ( )

Definition at line 545 of file class.ilObjStudyProgrammeMembersGUI.php.

545 : void
546 {
547 $prgrs_id = $this->getPrgrsId();
548 $msgs = $this->getMessageCollection('msg_mark_relevant');
549 $programme = $this->getStudyProgramme();
550 if (!$this->mayCurrentUserEditProgressForUser($prgrs_id->getUsrId())) {
551 $msgs->add(false, "No permission to edit progress of user", (string) $prgrs_id);
552 } else {
553 $programme->markRelevant($prgrs_id->getAssignmentId(), $this->user->getId(), $msgs);
554 }
555 $this->showMessages($msgs);
556 $this->ctrl->redirect($this, "view");
557 }

References ILIAS\Repository\ctrl(), getMessageCollection(), getPrgrsId(), getStudyProgramme(), mayCurrentUserEditProgressForUser(), and showMessages().

+ Here is the call graph for this function:

◆ markRelevantMulti()

ilObjStudyProgrammeMembersGUI::markRelevantMulti ( )

Definition at line 559 of file class.ilObjStudyProgrammeMembersGUI.php.

559 : void
560 {
561 $prgrs_ids = $this->getPostPrgsIds();
562 $msgs = $this->getMessageCollection('msg_mark_relevant');
563 $programme = $this->getStudyProgramme();
564 foreach ($prgrs_ids as $key => $prgrs_id) {
565 if (!$this->mayCurrentUserEditProgressForUser($prgrs_id->getUsrId())) {
566 $msgs->add(false, 'No permission to edit progress of user', (string) $prgrs_id);
567 } else {
568 $programme->markRelevant($prgrs_id->getAssignmentId(), $this->user->getId(), $msgs);
569 }
570 }
571 $this->showMessages($msgs);
572 $this->ctrl->redirect($this, "view");
573 }

References ILIAS\Repository\ctrl(), getMessageCollection(), getPostPrgsIds(), getStudyProgramme(), mayCurrentUserEditProgressForUser(), and showMessages().

+ Here is the call graph for this function:

◆ mayCurrentUserEditProgressForUser()

ilObjStudyProgrammeMembersGUI::mayCurrentUserEditProgressForUser ( int  $usr_id)
protected

Definition at line 1005 of file class.ilObjStudyProgrammeMembersGUI.php.

1005 : bool
1006 {
1007 return in_array(
1008 $usr_id,
1009 $this->permissions->getUserIdsSusceptibleTo(ilOrgUnitOperation::OP_EDIT_INDIVIDUAL_PLAN)
1010 );
1011 }

References ilOrgUnitOperation\OP_EDIT_INDIVIDUAL_PLAN.

Referenced by confirmedRemovalOfCertificate(), confirmedUpdateCertificate(), confirmedUpdateFromCurrentPlan(), markAccreditedByProgressId(), markNotRelevant(), markNotRelevantMulti(), markRelevant(), markRelevantMulti(), and unmarkAccreditedByProgressId().

+ Here is the caller graph for this function:

◆ removeAssignment()

ilObjStudyProgrammeMembersGUI::removeAssignment ( PRGProgressId  $pgs_id)
protected

Remove user.

Definition at line 876 of file class.ilObjStudyProgrammeMembersGUI.php.

876 : void
877 {
878 if (!in_array(
879 $pgs_id->getUsrId(),
880 $this->permissions->getUserIdsSusceptibleTo(ilOrgUnitOperation::OP_MANAGE_MEMBERS)
881 )) {
883 'No permission to manage membership of user'
884 );
885 }
886
887 $ass = $this->assignment_db->get($pgs_id->getAssignmentId());
888 $prg_ref_id = ilObjStudyProgramme::getRefIdFor($ass->getRootId());
889 if ($prg_ref_id !== $this->ref_id) {
890 throw new ilException("Can only remove users from the node they where assigned to.");
891 }
892 $prg = ilObjStudyProgramme::getInstanceByRefId($prg_ref_id);
893 $prg->removeAssignment($ass);
894 }
static getRefIdFor(int $obj_id)

References PRGProgressId\getAssignmentId(), ilObjStudyProgramme\getInstanceByRefId(), ilObjStudyProgramme\getRefIdFor(), PRGProgressId\getUsrId(), and ilOrgUnitOperation\OP_MANAGE_MEMBERS.

Referenced by confirmedRemoveUsers().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ removeCertificate()

ilObjStudyProgrammeMembersGUI::removeCertificate ( )

Definition at line 1110 of file class.ilObjStudyProgrammeMembersGUI.php.

1110 : string
1111 {
1112 $this->confirmation_gui->setFormAction($this->ctrl->getFormAction($this, 'confirmRemovalOfCertificate'));
1113 $this->confirmation_gui->setHeaderText($this->lng->txt('header_remove_certificate'));
1114 $this->confirmation_gui->setConfirm($this->lng->txt('confirm'), 'confirmedRemovalOfCertificate');
1115 $this->confirmation_gui->setCancel($this->lng->txt('cancel'), 'view');
1116
1117 $prgs_id = $this->getPrgrsId();
1118 $user_name = ilObjUser::_lookupFullname($prgs_id->getUsrId());
1119 $this->confirmation_gui->addItem(
1120 self::F_SELECTED_PROGRESS_IDS,
1121 (string) $prgs_id,
1122 $user_name
1123 );
1124 return $this->confirmation_gui->getHTML();
1125 }

References ilObjUser\_lookupFullname(), ILIAS\Repository\ctrl(), getPrgrsId(), and ILIAS\Repository\lng().

+ Here is the call graph for this function:

◆ removeCertificateMulti()

ilObjStudyProgrammeMembersGUI::removeCertificateMulti ( )

Definition at line 1127 of file class.ilObjStudyProgrammeMembersGUI.php.

1127 : string
1128 {
1129 $this->confirmation_gui->setFormAction($this->ctrl->getFormAction($this, 'confirmRemovalOfCertificate'));
1130 $this->confirmation_gui->setHeaderText($this->lng->txt('header_remove_certificate'));
1131 $this->confirmation_gui->setConfirm($this->lng->txt('confirm'), 'confirmedRemovalOfCertificate');
1132 $this->confirmation_gui->setCancel($this->lng->txt('cancel'), 'view');
1133
1134 foreach ($this->getPostPrgsIds() as $progress_id) {
1135 $user_name = ilObjUser::_lookupFullname($progress_id->getUsrId());
1136 $this->confirmation_gui->addItem(
1137 self::F_SELECTED_PROGRESS_IDS . '[]',
1138 (string) $progress_id,
1139 $user_name
1140 );
1141 }
1142
1143 return $this->confirmation_gui->getHTML();
1144 }

References ilObjUser\_lookupFullname(), ILIAS\Repository\ctrl(), getPostPrgsIds(), and ILIAS\Repository\lng().

+ Here is the call graph for this function:

◆ removeUser()

ilObjStudyProgrammeMembersGUI::removeUser ( )

Definition at line 822 of file class.ilObjStudyProgrammeMembersGUI.php.

822 : string
823 {
824 $prgrs_id = $this->getPrgrsId();
825 return $this->confirmRemoveUsers([$prgrs_id]);
826 }

References confirmRemoveUsers(), and getPrgrsId().

+ Here is the call graph for this function:

◆ removeUserMulti()

ilObjStudyProgrammeMembersGUI::removeUserMulti ( )
protected

Definition at line 828 of file class.ilObjStudyProgrammeMembersGUI.php.

828 : string
829 {
830 $pgs_ids = $this->getPostPrgsIds();
831 return $this->confirmRemoveUsers($pgs_ids);
832 }

References confirmRemoveUsers(), and getPostPrgsIds().

+ Here is the call graph for this function:

◆ resetFilter()

ilObjStudyProgrammeMembersGUI::resetFilter ( )

Definition at line 344 of file class.ilObjStudyProgrammeMembersGUI.php.

344 : void
345 {
346 $table = $this->getMembersTableGUI();
347 $table->resetOffset();
348 $table->resetFilter();
349 $this->ctrl->redirect($this, "view");
350 }

References ILIAS\Repository\ctrl(), and getMembersTableGUI().

+ Here is the call graph for this function:

◆ setParentGUI()

ilObjStudyProgrammeMembersGUI::setParentGUI ( ilObjectGUI  $a_parent_gui)

Definition at line 89 of file class.ilObjStudyProgrammeMembersGUI.php.

89 : void
90 {
91 $this->parent_gui = $a_parent_gui;
92 }

◆ setRefId()

ilObjStudyProgrammeMembersGUI::setRefId ( int  $ref_id)

Definition at line 94 of file class.ilObjStudyProgrammeMembersGUI.php.

94 : void
95 {
96 $this->ref_id = $ref_id;
98 $this->permissions = ilStudyProgrammeDIC::specificDicFor($this->object)['permissionhelper'];
99 }

References $ref_id, ilObjStudyProgramme\getInstanceByRefId(), and ilStudyProgrammeDIC\specificDicFor().

+ Here is the call graph for this function:

◆ showInfoMessage()

ilObjStudyProgrammeMembersGUI::showInfoMessage ( string  $lng_var)
protected

Shows ilUtil failed message.

Definition at line 907 of file class.ilObjStudyProgrammeMembersGUI.php.

907 : void
908 {
909 $this->tpl->setOnScreenMessage("info", $this->lng->txt("prg_$lng_var"), true);
910 }

References ILIAS\Repository\lng().

Referenced by confirmedRemovalOfCertificate(), confirmedRemoveUsers(), confirmedUpdateCertificate(), and getPostPrgsIds().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ showMessages()

ilObjStudyProgrammeMembersGUI::showMessages ( ilPRGMessageCollection  $msg)
protected

◆ showSuccessMessage()

ilObjStudyProgrammeMembersGUI::showSuccessMessage ( string  $lng_var)
protected

Shows ilUtil success message.

Definition at line 899 of file class.ilObjStudyProgrammeMembersGUI.php.

899 : void
900 {
901 $this->tpl->setOnScreenMessage("success", $this->lng->txt("prg_$lng_var"), true);
902 }

References ILIAS\Repository\lng().

Referenced by confirmedRemovalOfCertificate(), and confirmedRemoveUsers().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ unmarkAccredited()

ilObjStudyProgrammeMembersGUI::unmarkAccredited ( )
protected

Definition at line 514 of file class.ilObjStudyProgrammeMembersGUI.php.

514 : void
515 {
516 $prgrs_id = $this->getPrgrsId();
517 $msgs = $this->getMessageCollection('msg_unmark_accredited');
518 $this->unmarkAccreditedByProgressId($prgrs_id, $msgs);
519 $this->showMessages($msgs);
520 $this->ctrl->redirect($this, "view");
521 }
unmarkAccreditedByProgressId(PRGProgressId $prgrs_id, ilPRGMessageCollection $msgs)

References ILIAS\Repository\ctrl(), getMessageCollection(), getPrgrsId(), showMessages(), and unmarkAccreditedByProgressId().

+ Here is the call graph for this function:

◆ unmarkAccreditedByProgressId()

ilObjStudyProgrammeMembersGUI::unmarkAccreditedByProgressId ( PRGProgressId  $prgrs_id,
ilPRGMessageCollection  $msgs 
)
protected

Definition at line 534 of file class.ilObjStudyProgrammeMembersGUI.php.

534 : void
535 {
536 $usr_id = $prgrs_id->getUsrId();
537 if (!$this->mayCurrentUserEditProgressForUser($usr_id)) {
538 $msgs->add(false, 'No permission to edit progress of user', (string) $prgrs_id);
539 } else {
540 $programme = $this->getStudyProgramme();
541 $programme->unmarkAccredited($prgrs_id->getAssignmentId(), $this->user->getId(), $msgs);
542 }
543 }

References ilPRGMessageCollection\add(), PRGProgressId\getAssignmentId(), getStudyProgramme(), PRGProgressId\getUsrId(), and mayCurrentUserEditProgressForUser().

Referenced by unmarkAccredited(), and unmarkAccreditedMulti().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ unmarkAccreditedMulti()

ilObjStudyProgrammeMembersGUI::unmarkAccreditedMulti ( )

Definition at line 523 of file class.ilObjStudyProgrammeMembersGUI.php.

523 : void
524 {
525 $prgrs_ids = $this->getPostPrgsIds();
526 $msgs = $this->getMessageCollection('msg_unmark_accredited');
527 foreach ($prgrs_ids as $key => $prgrs_id) {
528 $this->unmarkAccreditedByProgressId($prgrs_id, $msgs);
529 }
530 $this->showMessages($msgs);
531 $this->ctrl->redirect($this, "view");
532 }

References ILIAS\Repository\ctrl(), getMessageCollection(), getPostPrgsIds(), showMessages(), and unmarkAccreditedByProgressId().

+ Here is the call graph for this function:

◆ updateCertificate()

ilObjStudyProgrammeMembersGUI::updateCertificate ( )

Definition at line 1046 of file class.ilObjStudyProgrammeMembersGUI.php.

1046 : string
1047 {
1048 $this->confirmation_gui->setFormAction($this->ctrl->getFormAction($this, 'confirmUpdateCertificate'));
1049 $this->confirmation_gui->setHeaderText($this->lng->txt('header_update_certificate'));
1050 $this->confirmation_gui->setConfirm($this->lng->txt('confirm'), 'confirmedUpdateCertificate');
1051 $this->confirmation_gui->setCancel($this->lng->txt('cancel'), 'view');
1052
1053 $prgs_id = $this->getPrgrsId();
1054 $user_name = ilObjUser::_lookupFullname($prgs_id->getUsrId());
1055 $this->confirmation_gui->addItem(
1056 self::F_SELECTED_PROGRESS_IDS,
1057 (string) $prgs_id,
1058 $user_name
1059 );
1060 return $this->confirmation_gui->getHTML();
1061 }

References ilObjUser\_lookupFullname(), ILIAS\Repository\ctrl(), getPrgrsId(), and ILIAS\Repository\lng().

+ Here is the call graph for this function:

◆ updateCertificateMulti()

ilObjStudyProgrammeMembersGUI::updateCertificateMulti ( )

Definition at line 1063 of file class.ilObjStudyProgrammeMembersGUI.php.

1063 : string
1064 {
1065 $this->confirmation_gui->setFormAction($this->ctrl->getFormAction($this, 'confirmUpdateCertificate'));
1066 $this->confirmation_gui->setHeaderText($this->lng->txt('header_update_certificate'));
1067 $this->confirmation_gui->setConfirm($this->lng->txt('confirm'), 'confirmedUpdateCertificate');
1068 $this->confirmation_gui->setCancel($this->lng->txt('cancel'), 'view');
1069
1070 foreach ($this->getPostPrgsIds() as $progress_id) {
1071 $user_name = ilObjUser::_lookupFullname($progress_id->getUsrId());
1072 $this->confirmation_gui->addItem(
1073 self::F_SELECTED_PROGRESS_IDS . '[]',
1074 (string) $progress_id,
1075 $user_name
1076 );
1077 }
1078 return $this->confirmation_gui->getHTML();
1079 }

References ilObjUser\_lookupFullname(), ILIAS\Repository\ctrl(), getPostPrgsIds(), and ILIAS\Repository\lng().

+ Here is the call graph for this function:

◆ updateFromCurrentPlan()

ilObjStudyProgrammeMembersGUI::updateFromCurrentPlan ( )

Definition at line 605 of file class.ilObjStudyProgrammeMembersGUI.php.

605 : string
606 {
607 $this->confirmation_gui->setFormAction($this->ctrl->getFormAction($this, 'confirmUpdateFromCurrentPlan'));
608 $this->confirmation_gui->setHeaderText($this->lng->txt('header_update_current_plan'));
609 $this->confirmation_gui->setConfirm($this->lng->txt('confirm'), 'confirmedUpdateFromCurrentPlan');
610 $this->confirmation_gui->setCancel($this->lng->txt('cancel'), 'view');
611
612 $prgs_id = $this->getPrgrsId();
613 $user_name = ilObjUser::_lookupFullname($prgs_id->getUsrId());
614 $this->confirmation_gui->addItem(
615 self::F_SELECTED_PROGRESS_IDS,
616 (string) $prgs_id,
617 $user_name
618 );
619 return $this->confirmation_gui->getHTML();
620 }

References ilObjUser\_lookupFullname(), ILIAS\Repository\ctrl(), getPrgrsId(), and ILIAS\Repository\lng().

+ Here is the call graph for this function:

◆ updateFromCurrentPlanMulti()

ilObjStudyProgrammeMembersGUI::updateFromCurrentPlanMulti ( )

Definition at line 622 of file class.ilObjStudyProgrammeMembersGUI.php.

622 : string
623 {
624 $this->confirmation_gui->setFormAction($this->ctrl->getFormAction($this, 'confirmUpdateFromCurrentPlan'));
625 $this->confirmation_gui->setHeaderText($this->lng->txt('header_update_current_plan'));
626 $this->confirmation_gui->setConfirm($this->lng->txt('confirm'), 'confirmedUpdateFromCurrentPlan');
627 $this->confirmation_gui->setCancel($this->lng->txt('cancel'), 'view');
628
629 foreach ($this->getPostPrgsIds() as $progress_id) {
630 $user_name = ilObjUser::_lookupFullname($progress_id->getUsrId());
631 $this->confirmation_gui->addItem(
632 self::F_SELECTED_PROGRESS_IDS . '[]',
633 (string) $progress_id,
634 $user_name
635 );
636 }
637 return $this->confirmation_gui->getHTML();
638 }

References ilObjUser\_lookupFullname(), ILIAS\Repository\ctrl(), getPostPrgsIds(), and ILIAS\Repository\lng().

+ Here is the call graph for this function:

◆ view()

ilObjStudyProgrammeMembersGUI::view ( )
protected

Shows table with all members of the SP.

Definition at line 322 of file class.ilObjStudyProgrammeMembersGUI.php.

322 : string
323 {
324 if ($this->getStudyProgramme()->isActive() && $this->permissions->may(ilOrgUnitOperation::OP_MANAGE_MEMBERS)) {
325 $this->initSearchGUI();
326 $this->initMailToMemberButton($this->toolbar, true);
327 }
328
329 if (!$this->getStudyProgramme()->isActive()) {
330 $this->tpl->setOnScreenMessage("info", $this->lng->txt("prg_no_members_not_active"));
331 }
332 $table = $this->getMembersTableGUI();
333 return $table->getHTML();
334 }
initMailToMemberButton(ilToolbarGUI $toolbar, bool $separator=false)

References getMembersTableGUI(), getStudyProgramme(), initMailToMemberButton(), initSearchGUI(), ILIAS\Repository\lng(), ilOrgUnitOperation\OP_MANAGE_MEMBERS, and ILIAS\Repository\toolbar().

+ Here is the call graph for this function:

◆ viewCompletedCourses()

ilObjStudyProgrammeMembersGUI::viewCompletedCourses ( array  $assignments)

Shows list of completed courses for each assignment.

Definition at line 395 of file class.ilObjStudyProgrammeMembersGUI.php.

395 : Form
396 {
397 $prg = $this->getStudyProgramme();
398 $completed_courses = [];
399 $ass_ids = [];
400 foreach ($assignments as $ass) {
401 $ass_ids[] = $ass->getId();
402 $completed_crss = $prg->getCompletedCourses($ass);
403
404 $label = sprintf(
405 "%s (%s)",
406 $ass->getUserInformation()->getFullname(),
407 $ass->getId()
408 );
409 $options = [];
410 foreach ($completed_crss as $opt) {
411 $options[implode(';', [$ass->getId(), $opt['prg_obj_id'],$opt['crs_id']])] = $opt['title'];
412 }
413
414 $completed_courses[] = $this->ui_factory->input()->field()->multiselect($label, $options);
415 }
416
417 $form_action = $this->ctrl->getFormAction($this, 'confirmedAcknowledgeCourses')
418 . '&ass_ids=' . implode(',', $ass_ids);
419
420 $form = $this->ui_factory->input()->container()->form()->standard(
421 $form_action,
422 [
423 $this->ui_factory->input()->field()->section(
424 $completed_courses,
425 $this->lng->txt("prg_acknowledge_completed_courses")
426 )
427 ]
428 )->withAdditionalTransformation(
429 $this->refinery->custom()->transformation(
430 function ($values) {
431 $values = array_merge(...array_filter(array_shift($values)));
432 return array_map(
433 fn($entry) => explode(';', $entry),
434 $values
435 );
436 }
437 )
438 )->withSubmitLabel(
439 $this->lng->txt("btn_next")
440 );
441
442 $this->toolbar->addComponent(
443 $this->ui_factory->link()->standard(
444 $this->lng->txt('prg_cancel_acknowledge_completed_courses'),
445 $this->ctrl->getLinkTarget($this, self::DEFAULT_CMD)
446 )
447 );
448 $this->toolbar->addComponent(
449 $this->ui_factory->link()->standard(
450 $this->lng->txt('prg_acknowledge_all_completed_courses'),
451 $this->ctrl->getLinkTarget($this, 'confirmedAcknowledgeAllCourses')
452 . '&ass_ids=' . implode(',', $ass_ids)
453 )
454 );
455
456 return $form;
457 }

References ILIAS\Repository\ctrl(), getStudyProgramme(), ILIAS\Repository\lng(), ILIAS\Repository\refinery(), and ILIAS\Repository\toolbar().

Referenced by acknowledgeCourses(), acknowledgeCoursesMulti(), and confirmedAcknowledgeCourses().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Field Documentation

◆ $object

ilObjStudyProgramme ilObjStudyProgrammeMembersGUI::$object
protected

Definition at line 58 of file class.ilObjStudyProgrammeMembersGUI.php.

◆ $parent_gui

ilObjectGUI ilObjStudyProgrammeMembersGUI::$parent_gui
protected

Definition at line 60 of file class.ilObjStudyProgrammeMembersGUI.php.

◆ $permissions

ilPRGPermissionsHelper ilObjStudyProgrammeMembersGUI::$permissions
protected

Definition at line 59 of file class.ilObjStudyProgrammeMembersGUI.php.

◆ $ref_id

int ilObjStudyProgrammeMembersGUI::$ref_id
protected

Definition at line 61 of file class.ilObjStudyProgrammeMembersGUI.php.

Referenced by getStudyProgramme(), and setRefId().

◆ ACTION_ACKNOWLEDGE_COURSES

const ilObjStudyProgrammeMembersGUI::ACTION_ACKNOWLEDGE_COURSES = "acknowledge_completed_courses"

◆ ACTION_CHANGE_DEADLINE

const ilObjStudyProgrammeMembersGUI::ACTION_CHANGE_DEADLINE = "change_deadline"

◆ ACTION_CHANGE_EXPIRE_DATE

const ilObjStudyProgrammeMembersGUI::ACTION_CHANGE_EXPIRE_DATE = "change_expire_date"

◆ ACTION_MARK_ACCREDITED

const ilObjStudyProgrammeMembersGUI::ACTION_MARK_ACCREDITED = "mark_accredited"

◆ ACTION_MARK_RELEVANT

const ilObjStudyProgrammeMembersGUI::ACTION_MARK_RELEVANT = "mark_relevant"

◆ ACTION_REMOVE_CERTIFICATE

const ilObjStudyProgrammeMembersGUI::ACTION_REMOVE_CERTIFICATE = "remove_certificate"

◆ ACTION_REMOVE_USER

const ilObjStudyProgrammeMembersGUI::ACTION_REMOVE_USER = "remove_user"

◆ ACTION_SHOW_INDIVIDUAL_PLAN

const ilObjStudyProgrammeMembersGUI::ACTION_SHOW_INDIVIDUAL_PLAN = "show_individual_plan"

◆ ACTION_UNMARK_ACCREDITED

const ilObjStudyProgrammeMembersGUI::ACTION_UNMARK_ACCREDITED = "unmark_accredited"

◆ ACTION_UNMARK_RELEVANT

const ilObjStudyProgrammeMembersGUI::ACTION_UNMARK_RELEVANT = "unmark_relevant"

◆ ACTION_UPDATE_CERTIFICATE

const ilObjStudyProgrammeMembersGUI::ACTION_UPDATE_CERTIFICATE = "update_certificate"

◆ ACTION_UPDATE_FROM_CURRENT_PLAN

const ilObjStudyProgrammeMembersGUI::ACTION_UPDATE_FROM_CURRENT_PLAN = "update_from_current_plan"

◆ DEFAULT_CMD

const ilObjStudyProgrammeMembersGUI::DEFAULT_CMD = "view"
private

Definition at line 38 of file class.ilObjStudyProgrammeMembersGUI.php.

Referenced by getDefaultCommand().

◆ F_ALL_PROGRESS_IDS

const ilObjStudyProgrammeMembersGUI::F_ALL_PROGRESS_IDS = 'all_progress_ids'

Definition at line 54 of file class.ilObjStudyProgrammeMembersGUI.php.

◆ F_COMMAND_OPTION_ALL

const ilObjStudyProgrammeMembersGUI::F_COMMAND_OPTION_ALL = 'select_cmd_all'

Definition at line 53 of file class.ilObjStudyProgrammeMembersGUI.php.

◆ F_SELECTED_PROGRESS_IDS

const ilObjStudyProgrammeMembersGUI::F_SELECTED_PROGRESS_IDS = 'prgs_ids'

Definition at line 55 of file class.ilObjStudyProgrammeMembersGUI.php.

◆ F_SELECTED_USER_IDS

const ilObjStudyProgrammeMembersGUI::F_SELECTED_USER_IDS = 'usrids'

Definition at line 56 of file class.ilObjStudyProgrammeMembersGUI.php.


The documentation for this class was generated from the following file: