Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 4.2.x will end 22 April 2024 (12 months).
  • Bug fixes for security issues in 4.2.x will end 7 October 2024 (18 months).
  • PHP version: minimum PHP 8.0.0 Note: minimum PHP version has increased since Moodle 4.1. PHP 8.1.x is supported too.

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

Branch Table

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

Defines 2 classes

lesson_page_type_branchtable:: (14 methods):
  get_typeid()
  get_typestring()
  get_jumps()
  get_jumptooptions()
  get_idstring()
  display()
  check_answer()
  display_answers()
  get_grayout()
  report_answers()
  update()
  add_page_link()
  get_displayinmenublock()
  is_unseen()

lesson_add_page_form_branchtable:: (1 method):
  custom_definition()


Class: lesson_page_type_branchtable  - X-Ref

get_typeid()   X-Ref
No description

get_typestring()   X-Ref
No description

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

return: array

get_jumptooptions($firstpage, lesson $lesson)   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

get_grayout()   X-Ref
No description

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

update($properties, $context = null, $maxbytes = null)   X-Ref
No description

add_page_link($previd)   X-Ref
No description

get_displayinmenublock()   X-Ref
No description

is_unseen($param)   X-Ref
No description