Moodle PHP Documentation 4.2
Moodle 4.2.8 (Build: 20240610) (2d41ac46f45)
|
Public Member Functions | |
display () | |
Main display method. | |
execute () | |
Executes the application rollback. | |
log () | |
Trigger an event based on the current action. | |
show () | |
Displays the different previous applications of the preset. | |
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\rollback::execute | ( | ) |
Executes the application rollback.
Each setting value is checked against the config_log->value
|
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.
|
protected |
Get page title for this action.
string | The page title to display into the page. |
Reimplemented from tool_admin_presets\local\action\base.
|
inherited |
Trigger an event based on the current action.
void |
tool_admin_presets\local\action\rollback::show | ( | ) |
Displays the different previous applications of the preset.
Reimplemented from tool_admin_presets\local\action\base.
|
staticprotectedinherited |
Array map for the events.