mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 00:46:50 +02:00
Abolished the qtype integers. The question types are now indexed by their name as specified by their directory name. This will avoid a lot of confusion in future when we have plugable question types.
This commit is contained in:
parent
069b6daf76
commit
6040798269
6 changed files with 47 additions and 15 deletions
|
@ -38,18 +38,18 @@ define('QUESTION_EVENTCLOSE', '8'); // The response has been submitted and t
|
|||
/**#@+
|
||||
* The core question types
|
||||
*/
|
||||
define("SHORTANSWER", "1");
|
||||
define("TRUEFALSE", "2");
|
||||
define("MULTICHOICE", "3");
|
||||
define("RANDOM", "4");
|
||||
define("MATCH", "5");
|
||||
define("RANDOMSAMATCH", "6");
|
||||
define("DESCRIPTION", "7");
|
||||
define("NUMERICAL", "8");
|
||||
define("MULTIANSWER", "9");
|
||||
define("CALCULATED", "10");
|
||||
define("RQP", "11");
|
||||
define("ESSAY", "12");
|
||||
define("SHORTANSWER", "shortanswer");
|
||||
define("TRUEFALSE", "truefalse");
|
||||
define("MULTICHOICE", "multichoice");
|
||||
define("RANDOM", "random");
|
||||
define("MATCH", "match");
|
||||
define("RANDOMSAMATCH", "randomsamatch");
|
||||
define("DESCRIPTION", "description");
|
||||
define("NUMERICAL", "numerical");
|
||||
define("MULTIANSWER", "multianswer");
|
||||
define("CALCULATED", "calculated");
|
||||
define("RQP", "rqp");
|
||||
define("ESSAY", "essay");
|
||||
/**#@-*/
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue