/** * List all submissions */ function listPublicSubmissionsObject() { global $tpl, $ilTabs; $this->checkPermission("read"); if (!$this->object->getShowSubmissions()) { $this->ctrl->redirect($this, "view"); } $ilTabs->activateTab("content"); $this->addContentSubTabs("content"); if ($this->ass->getType() != ilExAssignment::TYPE_TEXT) { include_once "./Modules/Exercise/classes/class.ilPublicSubmissionsTableGUI.php"; $tab = new ilPublicSubmissionsTableGUI($this, "listPublicSubmissions", $this->object, (int) $_GET["ass_id"]); $tpl->setContent($tab->getHTML()); } else { // #13271 include_once "Modules/Exercise/classes/class.ilExAssignmentListTextTableGUI.php"; $tbl = new ilExAssignmentListTextTableGUI($this, "listPublicSubmissions", $this->ass, false, true); $tpl->setContent($tbl->getHTML()); } }
/** * List all submissions */ function listPublicSubmissionsObject() { global $tpl, $ilTabs; $this->checkPermission("read"); $ilTabs->activateTab("content"); $this->addContentSubTabs("content"); include_once "./Modules/Exercise/classes/class.ilPublicSubmissionsTableGUI.php"; $tab = new ilPublicSubmissionsTableGUI($this, "listPublicSubmissions", $this->object, (int) $_GET["ass_id"]); $tpl->setContent($tab->getHTML()); }