Moodle APIs 4.3
Moodle 4.3.6 (Build: 20240812)
|
Topics | |
test | |
Directories | |
directory | local |
| |
Namespaces | |
namespace | tool_usertours |
Cache manager. | |
namespace | tool_usertours\event |
The tool_usertours step_shown event. | |
namespace | tool_usertours\local\clientside_filter |
Clientside filter base. | |
namespace | tool_usertours\local\filter |
Access Date filter. | |
namespace | tool_usertours\local\forms |
Form for editing steps. | |
namespace | tool_usertours\local\table |
Table to show the list of steps in a tour. | |
namespace | tool_usertours\local\target |
Target base. | |
namespace | tool_usertours\output |
Renderer. | |
namespace | tool_usertours\privacy |
Privacy Subsystem implementation for tool_usertours. | |
Functions | |
tool_usertours_before_footer () | |
Add JS to bootstrap tours. | |
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 | |
$capabilities | |
$capabilities | |
$definitions | |
$functions | |
$plugin = 2023100400 | |
$plugin | component = 'tool_usertours' |
$plugin | version = 2023100900 |
tool_usertours_before_footer | ( | ) |
Add JS to bootstrap tours.
Only in Moodle 3.3+
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 |
$capabilities |
$capabilities |
$definitions |