See Release Notes
Long Term Support Release
Differences Between: [Versions 401 and 402] [Versions 401 and 403]
Question type class for the calculated multiple-choice question type.
Copyright: | 2009 Pierre Pichet |
License: | http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later |
File Size: | 320 lines (12 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
qtype_calculatedmulti:: (13 methods):
save_question_options()
validate_answer()
validate_question_data()
make_question_instance()
initialise_question_instance()
make_answer()
make_hint()
comment_header()
comment_on_datasetitems()
get_virtual_qtype()
get_possible_responses()
move_files()
delete_files()
Class: qtype_calculatedmulti - X-Ref
The calculated multiple-choice question type.save_question_options($question) X-Ref |
No description |
validate_answer($answer) X-Ref |
No description |
validate_question_data($question) X-Ref |
No description |
make_question_instance($questiondata) X-Ref |
No description |
initialise_question_instance(question_definition $question, $questiondata) X-Ref |
No description |
make_answer($answer) X-Ref |
Public override method, created so that make_answer will be available for use by classes which extend qtype_multichoice_base. param: stdClass $answer Moodle DB question_answers object. return: question_answer |
make_hint($hint) X-Ref |
No description |
comment_header($question) X-Ref |
No description |
comment_on_datasetitems($qtypeobj, $questionid, $questiontext,$answers, $data, $number) X-Ref |
No description |
get_virtual_qtype() X-Ref |
No description |
get_possible_responses($questiondata) X-Ref |
No description |
move_files($questionid, $oldcontextid, $newcontextid) X-Ref |
No description |
delete_files($questionid, $contextid) X-Ref |
No description |