]> git.mjollnir.org Git - moodle.git/commit
questiontypes: MDL-17800 Add extra_question_fields() support to backup/restore functions.
authortjhunt <tjhunt>
Thu, 15 Jan 2009 07:29:07 +0000 (07:29 +0000)
committertjhunt <tjhunt>
Thu, 15 Jan 2009 07:29:07 +0000 (07:29 +0000)
commitc51c539d11130c1609958d825c20c0a9ec480d02
tree0e11a2fe15445d0e3bad1355218dd9120e7b52af
parent6eb82b796316b34385851838f8001a4b743906e8
questiontypes: MDL-17800 Add extra_question_fields() support to backup/restore functions.

* Implement this in the base class, and
* use this in the shortanswer type as a proof of concept.

This makes writing new question type subclasses a bit easier. Thanks to Oleg Sychev for this code.
question/type/questiontype.php
question/type/shortanswer/questiontype.php