Search moodle.org's
Developer Documentation

See Release Notes
Long Term Support Release

  • Bug fixes for general core bugs in 4.1.x will end 13 November 2023 (12 months).
  • Bug fixes for security issues in 4.1.x will end 10 November 2025 (36 months).
  • PHP version: minimum PHP 7.4.0 Note: minimum PHP version has increased since Moodle 4.0. PHP 8.0.x is supported too.

Differences Between: [Versions 310 and 401] [Versions 311 and 401] [Versions 39 and 401] [Versions 400 and 401]

Multichoice

Copyright: 2009 Sam Hemelryk
License: http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
File Size: 579 lines (25 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 4 classes

lesson_page_type_multichoice:: (11 methods):
  get_typeid()
  get_typestring()
  get_idstring()
  get_jumps()
  get_used_answers()
  display()
  check_answer()
  option_description_string()
  display_answers()
  stats()
  report_answers()

lesson_add_page_form_multichoice:: (1 method):
  custom_definition()

lesson_display_answer_form_multichoice_singleanswer:: (1 method):
  definition()

lesson_display_answer_form_multichoice_multianswer:: (1 method):
  definition()


Class: lesson_page_type_multichoice  - X-Ref

get_typeid()   X-Ref
No description

get_typestring()   X-Ref
No description

get_idstring()   X-Ref
No description

get_jumps()   X-Ref
Gets an array of the jumps used by the answers of this page

return: array

get_used_answers()   X-Ref
No description

display($renderer, $attempt)   X-Ref
No description

check_answer()   X-Ref
No description

option_description_string()   X-Ref
No description

display_answers(html_table $table)   X-Ref
No description

stats(array &$pagestats, $tries)   X-Ref
No description

report_answers($answerpage, $answerdata, $useranswer, $pagestats, &$i, &$n)   X-Ref
No description