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 401 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.

param: view $qbank
return: array

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[]