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]

Cluster

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

Defines 2 classes

lesson_page_type_cluster:: (10 methods):
  display()
  get_typeid()
  get_typestring()
  get_idstring()
  get_grayout()
  callback_on_view()
  override_next_page()
  add_page_link()
  valid_page_and_view()
  create_answers()

lesson_add_page_form_cluster:: (2 methods):
  custom_definition()
  construction_override()


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

get_grayout()   X-Ref
No description

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

override_next_page()   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 cluster page. Usually only ever
called when creating a new page instance.

param: object $properties
return: array

Class: lesson_add_page_form_cluster  - X-Ref

custom_definition()   X-Ref
No description

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