|
@@ -370,6 +370,32 @@ define('TEACHER_HTML_FULLPAGE', 5);
|
|
|
// Exercise
|
|
|
define('EXERCISE_NUMBER_OF_DECIMALS', 2);
|
|
|
|
|
|
+// @todo add this constants in the Question class
|
|
|
+// Question types
|
|
|
+define('UNIQUE_ANSWER', 1);
|
|
|
+define('MULTIPLE_ANSWER', 2);
|
|
|
+define('FILL_IN_BLANKS', 3);
|
|
|
+define('MATCHING', 4);
|
|
|
+define('FREE_ANSWER', 5);
|
|
|
+define('HOT_SPOT', 6);
|
|
|
+define('HOT_SPOT_ORDER', 7);
|
|
|
+define('HOT_SPOT_DELINEATION', 8);
|
|
|
+define('MULTIPLE_ANSWER_COMBINATION', 9);
|
|
|
+define('UNIQUE_ANSWER_NO_OPTION', 10);
|
|
|
+define('MULTIPLE_ANSWER_TRUE_FALSE', 11);
|
|
|
+define('MULTIPLE_ANSWER_COMBINATION_TRUE_FALSE', 12);
|
|
|
+define('ORAL_EXPRESSION', 13);
|
|
|
+define('GLOBAL_MULTIPLE_ANSWER', 14);
|
|
|
+define('MEDIA_QUESTION', 15);
|
|
|
+define('UNIQUE_ANSWER_IMAGE', 16);
|
|
|
+define('DRAGGABLE', 17);
|
|
|
+
|
|
|
+//Some alias used in the QTI exports
|
|
|
+define('MCUA', 1);
|
|
|
+define('TF', 1);
|
|
|
+define('MCMA', 2);
|
|
|
+define('FIB', 3);
|
|
|
+
|
|
|
/* XML processing functions */
|
|
|
|
|
|
// A regular expression for accessing declared encoding within xml-formatted text.
|