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]

End of branch table

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

Defines 2 classes

lesson_page_type_endofbranch:: (10 methods):
  display()
  get_typeid()
  get_typestring()
  get_idstring()
  callback_on_view()
  redirect_to_first_answer()
  get_grayout()
  add_page_link()
  valid_page_and_view()
  create_answers()

lesson_add_page_form_endofbranch:: (2 methods):
  custom_definition()
  construction_override()


Class: lesson_page_type_endofbranch  - X-Ref

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

get_typeid()   X-Ref
No description

get_typestring()   X-Ref
No description

get_idstring()   X-Ref
No description

callback_on_view($canmanage, $redirect = true)   X-Ref
No description

redirect_to_first_answer($canmanage, $redirect)   X-Ref
No description

get_grayout()   X-Ref
No description

add_page_link($previd)   X-Ref
No description

valid_page_and_view(&$validpages, &$pageviews)   X-Ref
No description

create_answers($properties)   X-Ref
Creates answers within the database for this end of cluster page. Usually only ever
called when creating a new page instance.

param: object $properties
return: array

Class: lesson_add_page_form_endofbranch  - X-Ref

custom_definition()   X-Ref
No description

construction_override($pageid, lesson $lesson)   X-Ref
No description