Public Member Functions | |
ilExerciseGUI ($lm_id=0, $chapter_id=0) | |
showList () | |
previewQuestion ($question_id) | |
editQuestionForm ($type, $question_id=0) | |
Data Fields | |
$ilias | |
$objExercise |
Definition at line 40 of file class.ilExerciseGUI.php.
ilExerciseGUI::editQuestionForm | ( | $ | type, | |
$ | question_id = 0 | |||
) |
Definition at line 70 of file class.ilExerciseGUI.php.
{
// developing
}
ilExerciseGUI::ilExerciseGUI | ( | $ | lm_id = 0 , |
|
$ | chapter_id = 0 | |||
) |
Definition at line 44 of file class.ilExerciseGUI.php.
References $ilias, $lm_id, $objExercise, and previewQuestion().
{ global $ilias; $this->ilias = $ilias; if ($lm_id != 0) { // get the question list and show them $objExercise = new ilExercise($lm_id, $chapter_id); //$this->showList(); $this->previewQuestion(2); } else { $this->raiseError("No Learning Module Id given, abort!", $this->ilias->error_obj->MESSAGE); } }
ilExerciseGUI::previewQuestion | ( | $ | question_id | ) |
Definition at line 63 of file class.ilExerciseGUI.php.
References assQuestionGUI::assQuestionGUI().
Referenced by ilExerciseGUI().
{ // developing $question_gui =& new assQuestionGUI(); $question =& $question_gui->create_question("", $question_id); $question_gui->out_preview(); }
ilExerciseGUI::showList | ( | ) |
Definition at line 58 of file class.ilExerciseGUI.php.
{
// developing
}
ilExerciseGUI::$ilias |
Definition at line 41 of file class.ilExerciseGUI.php.
Referenced by ilExerciseGUI().
ilExerciseGUI::$objExercise |
Definition at line 42 of file class.ilExerciseGUI.php.
Referenced by ilExerciseGUI().