22 $this->exercise = $a_exercise;
23 $this->submission = $a_submission;
28 $this->tabs_gui = $ilTabs;
37 $this->tabs_gui->clearTargets();
38 $this->tabs_gui->setBackTarget($this->lng->txt(
"back"),
39 $this->ctrl->getLinkTarget($this,
"returnToParent"));
41 $this->tabs_gui->addTab(
"submission", $this->lng->txt(
"exc_submission"),
42 $this->ctrl->getLinkTarget($this,
""));
43 $this->tabs_gui->activateTab(
"submission");
45 if($this->assignment->hasTeam())
47 include_once
"Modules/Exercise/classes/class.ilExSubmissionTeamGUI.php";
54 $this->ctrl->returnToParent($this);
64 $has_submitted = $this->submission->hasSubmitted();
66 $this->exercise->processExerciseStatus(
68 $this->submission->getUserIds(),
70 $this->submission->validatePeerReviews());
75 include_once
"./Services/Notification/classes/class.ilNotification.php";
78 include_once
"./Modules/Exercise/classes/class.ilExerciseMailNotification.php";
81 $not->setAssignmentId($this->assignment->getId());
82 $not->setRefId($this->exercise->getRefId());
83 $not->setRecipients($users);
static getOverviewContent(ilInfoScreenGUI $a_info, ilExSubmission $a_submission)
const TYPE_SUBMISSION_UPLOAD
Exercise submission base gui.
static getNotificationsForObject($type, $id, $page_id=null, $ignore_threshold=false)
Get all users for given object.
handleNewUpload($a_no_notifications=false)
const TYPE_EXERCISE_SUBMISSION
__construct(ilObjExercise $a_exercise, ilExSubmission $a_submission)