Search moodle.org's
Developer Documentation

See Release Notes
Long Term Support Release

  • Bug fixes for general core bugs in 3.9.x will end* 10 May 2021 (12 months).
  • Bug fixes for security issues in 3.9.x will end* 8 May 2023 (36 months).
  • PHP version: minimum PHP 7.2.0 Note: minimum PHP version has increased since Moodle 3.8. PHP 7.3.x and 7.4.x are supported too.

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

Matching

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

Defines 3 classes

lesson_page_type_matching:: (13 methods):
  get_typeid()
  get_typestring()
  get_idstring()
  display()
  make_answer_form()
  create_answers()
  check_answer()
  option_description_string()
  display_answers()
  update()
  stats()
  report_answers()
  get_jumps()

lesson_add_page_form_matching:: (1 method):
  custom_definition()

lesson_display_answer_form_matching:: (1 method):
  definition()


Class: lesson_page_type_matching  - X-Ref

get_typeid()   X-Ref
No description

get_typestring()   X-Ref
No description

get_idstring()   X-Ref
No description

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

make_answer_form($attempt=null)   X-Ref
No description

create_answers($properties)   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

update($properties, $context = null, $maxbytes = null)   X-Ref
Updates the page and its answers

param: stdClass $properties
return: bool

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

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

get_jumps()   X-Ref
No description

Class: lesson_add_page_form_matching  - X-Ref

custom_definition()   X-Ref
No description

Class: lesson_display_answer_form_matching  - X-Ref

definition()   X-Ref
No description