Definition at line 28 of file class.GUIService.php.
◆ __construct()
◆ assignmentPresentationGUI()
ILIAS\Exercise\Assignment\GUIService::assignmentPresentationGUI |
( |
\ilObjExercise |
$exc | ) |
|
Definition at line 80 of file class.GUIService.php.
81 {
82 return new \ilAssignmentPresentationGUI(
83 $exc,
84 $this->domain_service,
85 $this->gui_service
86 );
87 }
@ilCtrl_Calls ilAssignmentPresentationGUI: ilExSubmissionGUI
◆ getInstructionFileResourceCollectionGUI()
ILIAS\Exercise\Assignment\GUIService::getInstructionFileResourceCollectionGUI |
( |
int |
$ref_id, |
|
|
int |
$ass_id |
|
) |
| |
Definition at line 111 of file class.GUIService.php.
115 $irss = $this->domain_service->assignment()->instructionFiles(
$ass_id);
116 $lng = $this->domain_service->lng();
117 $lng->loadLanguageModule(
"exc");
118
119 $write = $this->domain_service->access()->checkAccess(
'write',
'',
$ref_id);
120
121 return $this->irss_wrapper_gui->getResourceCollectionGUI(
122 $irss->getStakeholder(),
123 $irss->getCollectionIdString(),
124 $lng->txt(
'exc_instruction_files'),
125 $write
126 );
127 }
◆ getRandomAssignmentGUI()
ILIAS\Exercise\Assignment\GUIService::getRandomAssignmentGUI |
( |
?\ilObjExercise |
$exc = null | ) |
|
Definition at line 97 of file class.GUIService.php.
98 {
99 if ($exc === null) {
100 $exc = $this->gui_service->request()->getExercise();
101 }
102 return new \ilExcRandomAssignmentGUI(
103 $this->gui_service->ui(),
104 $this->gui_service->toolbar(),
105 $this->domain_service->lng(),
106 $this->gui_service->ctrl(),
107 $this->domain_service->assignment()->randomAssignments($exc)
108 );
109 }
UI for random assignment (ui)
◆ getTutorFeedbackFileResourceCollectionGUI()
ILIAS\Exercise\Assignment\GUIService::getTutorFeedbackFileResourceCollectionGUI |
( |
int |
$ref_id, |
|
|
int |
$ass_id, |
|
|
int |
$participant_id |
|
) |
| |
Definition at line 129 of file class.GUIService.php.
134 $feedback_file_manager = $this->domain_service->assignment()->tutorFeedbackFile(
$ass_id);
135 $lng = $this->domain_service->lng();
136 $lng->loadLanguageModule(
"exc");
137
138 $write = $this->domain_service->access()->checkAccess(
'edit_submissions_grades',
'',
$ref_id);
139
140 return $this->irss_wrapper_gui->getResourceCollectionGUI(
141 $feedback_file_manager->getStakeholder(),
142 $feedback_file_manager->getCollectionIdString($participant_id),
143 $feedback_file_manager->getFeedbackTitle($participant_id),
144 $write
145 );
146 }
◆ itemBuilder()
Definition at line 44 of file class.GUIService.php.
47 : ItemBuilderUI {
48 return new ItemBuilderUI(
50 $this->gui_service->ui()->factory(),
51 $this->gui_service->ctrl()
52 );
53 }
propertyAndActionBuilder(\ilObjExercise $exc, MandatoryAssignmentsManager $mandatory_manager)
◆ panelBuilder()
Definition at line 55 of file class.GUIService.php.
58 : PanelBuilderUI {
59 return new PanelBuilderUI(
61 $this->gui_service->ui()->factory(),
62 $this->gui_service->ui()->renderer(),
63 $this->gui_service->ctrl(),
64 $this->domain_service->lng()
65 );
66 }
◆ propertyAndActionBuilder()
Definition at line 68 of file class.GUIService.php.
71 : PropertyAndActionBuilderUI {
72 return new PropertyAndActionBuilderUI(
73 $exc,
74 $mandatory_manager,
75 $this->domain_service,
76 $this->gui_service
77 );
78 }
◆ types()
ILIAS\Exercise\Assignment\GUIService::types |
( |
| ) |
|
Definition at line 89 of file class.GUIService.php.
90 {
91 return new \ilExAssignmentTypesGUI(
92 $this->domain_service,
93 $this->gui_service
94 );
95 }
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
◆ $domain_service
◆ $gui_service
◆ $irss_wrapper_gui
The documentation for this class was generated from the following file: