|
Moodle
2.2.1
http://www.collinsharper.com
|


Public Member Functions | |
| recode_legacy_state_answer ($state) | |
restore plugin class that provides the necessary information needed to restore one random qtype plugin
Definition at line 35 of file restore_qtype_random_plugin.class.php.
| recode_legacy_state_answer | ( | $ | state | ) |
Given one question_states record, return the answer recoded pointing to all the restored stuff for random questions
answer format is randomxx-yy, with xx being question->id and yy the actual response to the question. We'll delegate the recode to the corresponding qtype
also, some old states can contain, simply, one question->id, support them, just in case
Reimplemented from restore_qtype_plugin.
Definition at line 47 of file restore_qtype_random_plugin.class.php.
