[ Index ]

PHP Cross Reference of Unnamed Project

title

Body

[close]

/question/type/calculatedmulti/ -> questiontype.php (summary)

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: 325 lines (13 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

qtype_calculatedmulti:: (12 methods):
  save_question_options()
  validate_answer()
  validate_question_data()
  make_question_instance()
  initialise_question_instance()
  make_answer()
  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

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



Generated: Thu Aug 11 10:00:09 2016 Cross-referenced by PHPXref 0.7.1