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 402] [Versions 401 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.

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

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