See Release Notes
Long Term Support Release
Differences Between: [Versions 401 and 402] [Versions 401 and 403]
Upgrade library code for the randomsamatch question type.
Copyright: | 2013 Jean-Michel Vedrine |
License: | http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later |
File Size: | 243 lines (9 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
qtype_randomsamatch_qe2_attempt_updater:: (11 methods):
question_summary()
right_answer()
explode_answer()
make_summary()
lookup_choice()
response_summary()
was_answered()
set_first_step_data_elements()
supply_missing_first_step_data()
set_data_elements_for_step()
load_question()
Class: qtype_randomsamatch_qe2_attempt_updater - X-Ref
Class for converting attempt data for randomsamatch questions when upgradingquestion_summary() X-Ref |
No description |
right_answer() X-Ref |
No description |
explode_answer($answer) X-Ref |
Explode the answer saved as a string in state param: string $answer comma separated list of dash separated pairs return: array |
make_summary($pairs) X-Ref |
No description |
lookup_choice($choice) X-Ref |
Find the index corresponding to a choice param: integer $choice return: integer |
response_summary($state) X-Ref |
No description |
was_answered($state) X-Ref |
No description |
set_first_step_data_elements($state, &$data) X-Ref |
No description |
supply_missing_first_step_data(&$data) X-Ref |
No description |
set_data_elements_for_step($state, &$data) X-Ref |
No description |
load_question($questionid) X-Ref |
No description |