Exercise submission base gui.
More...
Exercise submission base gui.
This is an abstract base class for all types of submissions
- Author
- Jörg Lützenkirchen luetz.nosp@m.enki.nosp@m.rchen.nosp@m.@lei.nosp@m.fos.c.nosp@m.om
-
Alexander Killing killi.nosp@m.ng@l.nosp@m.eifos.nosp@m..de
Definition at line 31 of file class.ilExSubmissionBaseGUI.php.
◆ __construct()
◆ getOverviewContent()
◆ handleNewUpload()
ilExSubmissionBaseGUI::handleNewUpload |
( |
bool |
$a_no_notifications = false | ) |
|
|
protected |
Definition at line 127 of file class.ilExSubmissionBaseGUI.php.
129 : void {
130 $has_submitted = $this->submission->hasSubmitted();
131
132 $this->exercise->processExerciseStatus(
133 $this->assignment,
134 $this->submission->getUserIds(),
135 $has_submitted,
136 $this->submission->validatePeerReviews()
137 );
138
139 if ($has_submitted &&
140 !$a_no_notifications) {
141 $this->
notification->sendUploadNotification($this->assignment->getId());
142 }
143 }
References ILIAS\UI\examples\Symbol\Glyph\Notification\notification().
◆ handleRemovedUpload()
ilExSubmissionBaseGUI::handleRemovedUpload |
( |
| ) |
|
|
protected |
◆ handleTabs()
ilExSubmissionBaseGUI::handleTabs |
( |
| ) |
|
|
protected |
Definition at line 93 of file class.ilExSubmissionBaseGUI.php.
93 : void
94 {
95 return;
96 $this->tabs_gui->clearTargets();
97 $this->tabs_gui->setBackTarget(
98 $this->
lng->txt(
"back"),
99 $this->ctrl->getLinkTarget($this, "returnToParent")
100 );
101
102 $this->tabs_gui->addTab(
103 "submission",
104 $this->
lng->txt(
"exc_submission"),
105 $this->ctrl->getLinkTarget($this, "")
106 );
107 $this->tabs_gui->activateTab("submission");
108
109 if ($this->assignment->hasTeam()) {
111 }
112 }
References ilExSubmissionTeamGUI\handleTabs(), and ILIAS\Repository\lng().
◆ returnToParentObject()
ilExSubmissionBaseGUI::returnToParentObject |
( |
| ) |
|
◆ triggerAssignmentTool()
ilExSubmissionBaseGUI::triggerAssignmentTool |
( |
| ) |
|
|
protected |
◆ $assignment
◆ $ctrl
ilCtrl ilExSubmissionBaseGUI::$ctrl |
|
protected |
◆ $domain
ILIAS Exercise InternalDomainService ilExSubmissionBaseGUI::$domain |
|
protected |
◆ $exercise
◆ $gui
ILIAS Exercise InternalGUIService ilExSubmissionBaseGUI::$gui |
|
protected |
◆ $lng
◆ $mandatory_manager
◆ $notification
ILIAS Exercise Notification NotificationManager ilExSubmissionBaseGUI::$notification |
|
protected |
◆ $request
◆ $requested_ref_id
int ilExSubmissionBaseGUI::$requested_ref_id |
|
protected |
◆ $submission
◆ $tabs_gui
◆ $tool_context
◆ $tpl
◆ $type_guis
◆ $user
The documentation for this class was generated from the following file: