Moodle PHP Documentation 4.5
Moodle 4.5dev (Build: 20240606) (d3ae1391abe)
|
Public Member Functions | |
display () | |
Main display method. | |
download_xml () | |
To download system presets. | |
execute () | |
Stores a preset into the DB. | |
log () | |
Trigger an event based on the current action. | |
show () | |
Shows the initial form to export/save admin settings. | |
Protected Member Functions | |
display_header () | |
Displays the header. | |
get_explanatory_description () | |
Get explanatory description to be displayed below the heading. | |
get_title () | |
Get page title for this action. | |
Protected Attributes | |
string | $action |
The main action (delete, export, import, load...). | |
int | $id |
Admin preset identifier. | |
manager | $manager |
The manager helper class instance. | |
string | $mode |
The mode (show, execute...). | |
moodleform | $moodleform |
The moodle form to display in the page. | |
int | $outputs |
The output content to display in the page. | |
Static Protected Attributes | |
static array | $eventsactionsmap |
Array map for the events. | |
|
inherited |
Main display method.
Prints the block header and the common block outputs, the selected action outputs, his form and the footer
$outputs value depends on $mode and $action selected
tool_admin_presets\local\action\export::download_xml | ( | ) |
To download system presets.
void | preset file |
|
protected |
Get explanatory description to be displayed below the heading.
It's optional and might change depending on the action and the mode.
string|null | The explanatory description for the current action and mode. |
Reimplemented from tool_admin_presets\local\action\base.
|
protectedinherited |
Get page title for this action.
string | The page title to display into the page. |
Reimplemented in tool_admin_presets\local\action\rollback.
|
inherited |
Trigger an event based on the current action.
void |
tool_admin_presets\local\action\export::show | ( | ) |
Shows the initial form to export/save admin settings.
Loads the database configuration and prints the settings in a hierarchical table
Reimplemented from tool_admin_presets\local\action\base.
|
staticprotectedinherited |
Array map for the events.