Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 4.0.x will end 8 May 2023 (12 months).
  • Bug fixes for security issues in 4.0.x will end 13 November 2023 (18 months).
  • PHP version: minimum PHP 7.3.0 Note: the minimum PHP version has increased since Moodle 3.10. PHP 7.4.x is also supported.

Differences Between: [Versions 400 and 403]

Base class class for qbank plugins. Every qbank plugin must extent this class.

Author: Safat Shahin <safatshahin@catalyst-au.net>
Copyright: 2021 Catalyst IT Australia Pty Ltd
License: http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
File Size: 68 lines (2 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

plugin_features_base:: (3 methods):
  get_question_columns()
  get_navigation_node()
  get_bulk_actions()


Class: plugin_features_base  - X-Ref

Class plugin_features_base is the base class for qbank plugins.

get_question_columns(view $qbank)   X-Ref
This method will return the array of objects to be rendered as a part of question bank columns/actions.

return: array
param: view $qbank

get_navigation_node()   X-Ref
This method will return the object for the navigation node.

return: null|navigation_node_base

get_bulk_actions()   X-Ref
This method will return the array objects for the bulk actions ui.

return: bulk_action_base[]