MIDDAG for Moodle

lookerstudio_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  = 'lookerstudio'
GROUP  = \local_middag\framework\shared\enum\extension_group::REPORTS->value
PRIORITY  = 15

Methods

get_icon()  : string
Returns the icon slug for this extension.
get_quick_access_links()  : array<int, array<string, mixed>>
Quick access links for this extension (admin shortcuts).
has_moodle_settings()  : bool
Whether this extension provides Moodle settings to be rendered dynamically.

Constants

Methods

get_icon()

Returns the icon slug for this extension.

public get_icon() : string
Return values
string

Icon identifier under pix/extensions

Quick access links for this extension (admin shortcuts).

public get_quick_access_links() : array<int, array<string, mixed>>

Return an array of DTOs: each item as [ 'id' => string (unique), 'title' => string (Already localized), 'url' => moodle_url|string ].

settings.php will render them inside a dedicated tab if non-empty.

Return values
array<int, array<string, mixed>>

has_moodle_settings()

Whether this extension provides Moodle settings to be rendered dynamically.

public has_moodle_settings() : bool

If true, settings.php may build a tab for it.

Return values
bool

        
On this page

Search results