Refactor how question types register themselves with the question bank. This change...
authortjhunt <tjhunt>
Tue, 15 Aug 2006 21:25:38 +0000 (21:25 +0000)
committertjhunt <tjhunt>
Tue, 15 Aug 2006 21:25:38 +0000 (21:25 +0000)
commita21567892f1d0f73222af5b1754c9aa983288f9e
tree52d1e7c5d2d1d7090e93628863fce0bd50cdaac1
parenteeaeff8e0481ab3892d1ce754cb99a1393ae25fa
Refactor how question types register themselves with the question bank. This change makes it easier for 3rd party question types to control their destiny, but is also backwards compatible, in that old 3rd party plugins will still work.\r\rSee moodle.org/mod/forum/discuss.php?d=51796 for more details.
15 files changed:
lib/questionlib.php
question/type/calculated/questiontype.php
question/type/description/questiontype.php
question/type/essay/questiontype.php
question/type/match/questiontype.php
question/type/missingtype/questiontype.php
question/type/multianswer/questiontype.php
question/type/multichoice/questiontype.php
question/type/numerical/questiontype.php
question/type/questiontype.php
question/type/random/questiontype.php
question/type/randomsamatch/questiontype.php
question/type/rqp/questiontype.php
question/type/shortanswer/questiontype.php
question/type/truefalse/questiontype.php