MIDDAG for Moodle

helpdesk_extension extends extension

Public SDK Extension.

Extensions should extend this class to register controllers, services, routes, and other lifecycle hooks exposed by the framework.

Table of Contents

Constants

EXTENSION_IDNUMBER  = 'helpdesk'
GROUP  = \local_middag\framework\shared\enum\extension_group::MANAGEMENT->value
PRIORITY  = 35

Methods

get_config_page_title()  : string
get_extension_badges()  : array<string|int, mixed>
Get the badges associated with the extension.
get_icon()  : string
Returns the icon slug for this extension.
get_settings_pages()  : array<int, object>
Return admin setting pages this extension provides (to be rendered dynamically in settings.php).
is_available()  : bool
Check if the resource is available.

Constants

GROUP

public mixed GROUP = \local_middag\framework\shared\enum\extension_group::MANAGEMENT->value

Methods

get_config_page_title()

public get_config_page_title() : string
Return values
string

get_extension_badges()

Get the badges associated with the extension.

public get_extension_badges() : array<string|int, mixed>

severity: secondary, success, info, warn, danger, contrast label: name.

Return values
array<string|int, mixed>

the badges of the extension

get_icon()

Returns the icon slug for this extension.

public get_icon() : string
Return values
string

Icon identifier under pix/extensions

get_settings_pages()

Return admin setting pages this extension provides (to be rendered dynamically in settings.php).

public get_settings_pages() : array<int, object>

Implementations may construct and return instances of admin_settingpage. Default: none.

Return values
array<int, object>

is_available()

Check if the resource is available.

public is_available() : bool
Return values
bool

the availability status of the resource


        
On this page

Search results