Search moodle.org's
Developer Documentation

See Release Notes

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

Differences Between: [Versions 400 and 403] [Versions 401 and 403] [Versions 402 and 403]

(no description)

File Size: 112 lines (4 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

qbank_action_menu:: (3 methods):
  __construct()
  set_action_button()
  export_for_template()


Class: qbank_action_menu  - X-Ref

Rendered HTML elements for tertiary nav for Question bank.

Provides a menu of links for question bank tertiary navigation, based on get_navigation_node() implemented by each plugin.
Optionally includes and additional action button to display alongside the menu.

__construct(moodle_url $currenturl)   X-Ref
qbank_actionbar constructor.

param: moodle_url $currenturl The current URL.

set_action_button(moodle_url $url, string $label)   X-Ref
Set the properties of an additional action button specific to the current page.

param: moodle_url $url
param: string $label
return: void

export_for_template(renderer_base $output)   X-Ref
Provides the data for the template.

param: renderer_base $output renderer_base object.
return: array data for the template