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 402] [Versions 400 and 403]

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: 165 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.

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.

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

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