Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 3.11.x will end 14 Nov 2022 (12 months plus 6 months extension).
  • Bug fixes for security issues in 3.11.x will end 13 Nov 2023 (18 months plus 12 months extension).
  • PHP version: minimum PHP 7.3.0 Note: minimum PHP version has increased since Moodle 3.10. PHP 7.4.x is supported too.

Differences Between: [Versions 39 and 311]

True/false

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

Defines 3 classes

lesson_page_type_truefalse:: (9 methods):
  get_typeid()
  get_typestring()
  get_idstring()
  display()
  check_answer()
  display_answers()
  update()
  stats()
  report_answers()

lesson_add_page_form_truefalse:: (1 method):
  custom_definition()

lesson_display_answer_form_truefalse:: (1 method):
  definition()


Class: lesson_page_type_truefalse  - 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

check_answer()   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

Class: lesson_add_page_form_truefalse  - X-Ref

custom_definition()   X-Ref
No description

Class: lesson_display_answer_form_truefalse  - X-Ref

definition()   X-Ref
No description