Inheritance diagram for ilExerciseGUI:
Collaboration diagram for ilExerciseGUI: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);
}
}
Here is the call graph for this function:| ilExerciseGUI::previewQuestion | ( | $ | question_id | ) |
Definition at line 63 of file class.ilExerciseGUI.php.
References ASS_QuestionGUI::ASS_QuestionGUI().
Referenced by ilExerciseGUI().
{
// developing
$question_gui =& new ASS_QuestionGUI();
$question =& $question_gui->create_question("", $question_id);
$question_gui->out_preview();
}
Here is the call graph for this function:
Here is the caller graph for this function:| 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().
1.7.1