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


Public Member Functions | |
| process_randomsamatch ($data) | |
| recode_state_answer ($state) | |
Protected Member Functions | |
| define_question_plugin_structure () | |
restore plugin class that provides the necessary information needed to restore one randomsamatch qtype plugin
Definition at line 35 of file restore_qtype_randomsamatch_plugin.class.php.
| define_question_plugin_structure | ( | ) | [protected] |
Returns the paths to be handled by the plugin at question level
Definition at line 40 of file restore_qtype_randomsamatch_plugin.class.php.

| process_randomsamatch | ( | $ | data | ) |
Process the qtype/randomsamatch element
Definition at line 55 of file restore_qtype_randomsamatch_plugin.class.php.

| recode_state_answer | ( | $ | state | ) |
Given one question_states record, return the answer recoded pointing to all the restored stuff for randomsamatch questions
answer is one comma separated list of hypen separated pairs containing question->id and question_answers->id
Definition at line 85 of file restore_qtype_randomsamatch_plugin.class.php.
