Search moodle.org's
Developer Documentation

See Release Notes

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

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

Defines classes used for plugin info.

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: 168 lines (6 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class


Class: qbank  - X-Ref

Base class for qbank plugins.

plugintype_supports_disabling()   X-Ref
No description

is_uninstall_allowed()   X-Ref
No description

get_manage_url()   X-Ref
No description

get_settings_section_name()   X-Ref
No description

get_plugins($type, $typerootdir, $typeclass, $pluginman)   X-Ref
No description

get_enabled_plugins()   X-Ref
No description

enable_plugin(string $pluginname, int $enabled)   X-Ref
No description

is_plugin_enabled($fullpluginname)   X-Ref
Checks if a qbank plugin is ready to be used.
It checks the plugin status as well as the plugin is missing or not.

param: string $fullpluginname the name of the plugin
return: bool

load_settings(\part_of_admin_tree $adminroot, $parentnodename, $hassiteconfig)   X-Ref
No description