/** * Finalize and submit blog to exercise */ protected function finalize() { global $ilCtrl, $lng; // to make exercise gui load assignment $_GET["ass_id"] = $_REQUEST["ass"]; // #11173 - ref_id is needed for notifications $exc_ref_id = array_shift(ilObject::_getAllReferences($_REQUEST["exc"])); include_once "Modules/Exercise/classes/class.ilObjExerciseGUI.php"; $exc_gui = new ilObjExerciseGUI(null, $exc_ref_id, true); $exc_gui->submitBlog($this->node_id); ilUtil::sendSuccess($lng->txt("blog_finalized"), true); $ilCtrl->redirect($this, "render"); }
require_once "./Modules/HTMLLearningModule/classes/class.ilObjFileBasedLMGUI.php"; ilObjFileBasedLMGUI::_goto($target_id); break; // please migrate to default branch implementation // please migrate to default branch implementation case "frm": require_once "./Modules/Forum/classes/class.ilObjForumGUI.php"; $target_thread = $target_arr[2]; $target_posting = $target_arr[3]; ilObjForumGUI::_goto($target_id, $target_thread, $target_posting); break; // please migrate to default branch implementation // please migrate to default branch implementation case "exc": require_once "./Modules/Exercise/classes/class.ilObjExerciseGUI.php"; ilObjExerciseGUI::_goto($target_id); break; // please migrate to default branch implementation // please migrate to default branch implementation case "tst": require_once "./Modules/Test/classes/class.ilObjTestGUI.php"; ilObjTestGUI::_goto($target_id); break; // please migrate to default branch implementation // please migrate to default branch implementation case "qpl": require_once "./Modules/TestQuestionPool/classes/class.ilObjQuestionPoolGUI.php"; ilObjQuestionPoolGUI::_goto($target_id); break; // please migrate to default branch implementation // please migrate to default branch implementation
/** * Finalize and submit portfolio to exercise */ protected function finalize() { // to make exercise gui load assignment $_GET["ass_id"] = $_REQUEST["ass"]; // #11173 - ref_id is needed for notifications $exc_ref_id = array_shift(ilObject::_getAllReferences($_REQUEST["exc"])); include_once "Modules/Exercise/classes/class.ilObjExerciseGUI.php"; $exc_gui = new ilObjExerciseGUI(null, $exc_ref_id, true); $exc_gui->submitPortfolio($this->object->getId()); ilUtil::sendSuccess($this->lng->txt("prtf_finalized"), true); $this->ctrl->redirect($this, "view"); }
require_once "./Modules/HTMLLearningModule/classes/class.ilObjFileBasedLMGUI.php"; ilObjFileBasedLMGUI::_goto($target_id); break; // please migrate to default branch implementation // please migrate to default branch implementation case "frm": require_once "./Modules/Forum/classes/class.ilObjForumGUI.php"; $target_thread = $target_arr[2]; $target_posting = $target_arr[3]; ilObjForumGUI::_goto($target_id, $target_thread, $target_posting); break; // please migrate to default branch implementation // please migrate to default branch implementation case "exc": require_once "./Modules/Exercise/classes/class.ilObjExerciseGUI.php"; ilObjExerciseGUI::_goto($target_id, $rest); break; // please migrate to default branch implementation // please migrate to default branch implementation case "tst": require_once "./Modules/Test/classes/class.ilObjTestGUI.php"; ilObjTestGUI::_goto($target_id); break; // please migrate to default branch implementation // please migrate to default branch implementation case "qpl": require_once "./Modules/TestQuestionPool/classes/class.ilObjQuestionPoolGUI.php"; ilObjQuestionPoolGUI::_goto($target_id); break; // please migrate to default branch implementation // please migrate to default branch implementation