From: gustav_delius Date: Wed, 12 Jan 2005 06:30:32 +0000 (+0000) Subject: Just some comment text to explain the $QUIZ_QUESTION_TYPE array. X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=9f9cff594c51706103c820616bb27818290e7706;p=moodle.git Just some comment text to explain the $QUIZ_QUESTION_TYPE array. --- diff --git a/mod/quiz/locallib.php b/mod/quiz/locallib.php index 67c018d252..65cf19090a 100644 --- a/mod/quiz/locallib.php +++ b/mod/quiz/locallib.php @@ -26,6 +26,9 @@ define("NUMERICAL", "8"); define("MULTIANSWER", "9"); define("CALCULATED", "10"); +// The $QUIZ_QUESTION_TYPE array holds the names of all the question types that the user should +// be able to create directly. Some internal question types like random questions are excluded. +// The complete list of question types can be found in $QUIZ_QTYPES. $QUIZ_QUESTION_TYPE = array ( MULTICHOICE => get_string("multichoice", "quiz"), TRUEFALSE => get_string("truefalse", "quiz"), SHORTANSWER => get_string("shortanswer", "quiz"),