コード例 #1
0
 /**
  * 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");
 }
コード例 #2
0
ファイル: goto.php プロジェクト: khanhnnvn/ilias_E-learning
     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
コード例 #3
0
 /**
  * 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");
 }
コード例 #4
0
ファイル: goto.php プロジェクト: arlendotcn/ilias
     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