|
Moodle PHP Documentation 4.5
Moodle 4.5.5+ (Build: 20250711) (ce34e8ff087)
|
Namespaces | |
| namespace | tool_usertours |
| | |
| namespace | tool_usertours\event |
| | |
| namespace | tool_usertours\hook |
| | |
| namespace | tool_usertours\local\clientside_filter |
| | |
| namespace | tool_usertours\local\filter |
| | |
| namespace | tool_usertours\local\forms |
| | |
| namespace | tool_usertours\local\table |
| | |
| namespace | tool_usertours\local\target |
| | |
| namespace | tool_usertours\output |
| | |
| namespace | tool_usertours\privacy |
| | |
Functions | |
| tool_usertours_extend_navigation_user () | |
| Extend the user navigation to bootstrap tours. | |
| tool_usertours_get_fontawesome_icon_map () | |
| Map icons for font-awesome themes. | |
| tool_usertours_inplace_editable ($itemtype, $itemid, $newvalue) | |
| Manage inplace editable saves. | |
| tool_usertours_pluginfile ($course, $cm, $context, $filearea, $args, $forcedownload, array $options=[]) | |
| Serves any files associated with the user tour content. | |
| xmldb_tool_usertours_install () | |
| Perform the post-install procedures. | |
| xmldb_tool_usertours_upgrade ($oldversion) | |
| Upgrade the user tours plugin. | |
Variables | |
| $callbacks | |
| $capabilities | |
| $capabilities | |
| $definitions | |
| $functions | |
| $plugin = 2024100100 | |
| $plugin | component = 'tool_usertours' |
| $plugin | version = 2024100700 |
| tool_usertours_inplace_editable | ( | $itemtype, | |
| $itemid, | |||
| $newvalue ) |
Manage inplace editable saves.
| string | $itemtype | The type of item. |
| int | $itemid | The ID of the item. |
| mixed | $newvalue | The new value |
| core\output\inplace_editable |
| tool_usertours_pluginfile | ( | $course, | |
| $cm, | |||
| $context, | |||
| $filearea, | |||
| $args, | |||
| $forcedownload, | |||
| array | $options = [] ) |
Serves any files associated with the user tour content.
| stdClass | $course | Course object |
| stdClass | $cm | Course module object |
| context | $context | Context |
| string | $filearea | File area for data privacy |
| array | $args | Arguments |
| bool | $forcedownload | If we are forcing the download |
| array | $options | More options |
| bool | Returns false if we don't find a file. |
| xmldb_tool_usertours_upgrade | ( | $oldversion | ) |
Upgrade the user tours plugin.
| int | $oldversion | The old version of the user tours plugin |
| bool |
| $callbacks |
| $capabilities |
| $capabilities |
| $definitions |