Moodle PHP Documentation 4.2
Moodle 4.2.8 (Build: 20240610) (2d41ac46f45)
|
Namespaces | |
namespace | tool_usertours |
| |
namespace | tool_usertours\event |
| |
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_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 = 2023041800 | |
$plugin | component = 'tool_usertours' |
$plugin | version = 2023042400 |
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 |