|
Moodle PHP Documentation 4.4
Moodle 4.4.9+ (Build: 20250711) (4ea86454947)
|
Public Member Functions | |
| display () | |
| Main display method. | |
| execute () | |
| Imports the xmlfile into DB. | |
| log () | |
| Trigger an event based on the current action. | |
| show () | |
| Displays the import moodleform. | |
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
|
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\import::show | ( | ) |
Displays the import moodleform.
Reimplemented from tool_admin_presets\local\action\base.
|
staticprotectedinherited |
Array map for the events.