MIDDAG for Moodle

opengraph_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  = 'opengraph'
GROUP  = \local_middag\framework\shared\enum\extension_group::ENGAGEMENT->value
PRIORITY  = 20

Methods

boot()  : void
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>
Constrói as páginas de configuração desta extensão (migração do antigo settings.php).
has_moodle_settings()  : bool
Indica que esta extensão possui páginas de configuração do Moodle.
is_available()  : bool
Check if the resource is available.

Constants

GROUP

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

Methods

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()

Constrói as páginas de configuração desta extensão (migração do antigo settings.php).

public get_settings_pages() : array<int, object>

Mantém as mesmas chaves/ids de configuração para compatibilidade.

Return values
array<int, object>

Lista de admin_settingpage

has_moodle_settings()

Indica que esta extensão possui páginas de configuração do Moodle.

public has_moodle_settings() : bool
Return values
bool

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