|
Moodle APIs 4.3
Moodle 4.3.6 (Build: 20240812)
|
Namespaces | |
| namespace | tool_moodlenet |
| This is the external API for this component. | |
| namespace | tool_moodlenet\local |
| Contains the import_backup_helper class. | |
| namespace | tool_moodlenet\output |
| Renderer. | |
| namespace | tool_moodlenet\privacy |
| Privacy class for tool_moodlenet. | |
| namespace | tool_moodlenet\task |
| | |
Classes | |
| class | tool_moodlenet\external |
| This is the external API for this component. More... | |
| class | tool_moodlenet\local\import_backup_helper |
| The import_backup_helper class. More... | |
| class | tool_moodlenet\local\import_handler_info |
| The import_handler_info class. More... | |
| class | tool_moodlenet\local\import_handler_registry |
| The import_handler_registry class. More... | |
| class | tool_moodlenet\local\import_info |
| Class import_info, describing objects which represent a resource being imported by a user. More... | |
| class | tool_moodlenet\local\import_processor |
| The import_processor class. More... | |
| interface | tool_moodlenet\local\import_strategy |
| The import_strategy interface. More... | |
| class | tool_moodlenet\local\import_strategy_file |
| The import_strategy_file class. More... | |
| class | tool_moodlenet\local\import_strategy_link |
| The import_strategy_link class. More... | |
| class | tool_moodlenet\local\url |
| The url class, providing a representation of a url and operations on its component parts. More... | |
| class | tool_moodlenet\moodlenet_user_profile |
| A class to represent the moodlenet profile. More... | |
| class | tool_moodlenet\output\renderer |
| Renderer class. More... | |
| class | tool_moodlenet\output\select_page |
| Select page renderable. More... | |
| class | tool_moodlenet\privacy\provider |
| Privacy class for tool_moodlenet. More... | |
| class | tool_moodlenet\profile_manager |
| Class for handling interaction with the moodlenet profile. More... | |
| class | tool_moodlenet\task\post_install |
| Ad-hoc task to perform post install tasks. More... | |
| class | tool_moodlenet\task\send_enable_notification |
| Ad-hoc task to send the notification to admin stating MoodleNet is automatically enabled after upgrade. More... | |
| class | tool_moodlenet\task\send_mnet_profiles_data_removed_notification |
| Ad-hoc task to send a notification to admin stating that the user data related to the linked MoodleNet profiles has been removed. More... | |
Functions | |
| generate_mnet_endpoint (string $profileurl, int $course, int $section=0) | |
| Generate the endpoint url to the user's moodlenet site. | |
| tool_moodlenet_custom_chooser_footer (int $courseid, int $sectionid) | |
| Hooking function to build up the initial Activity Chooser footer information for MoodleNet. | |
| xmldb_tool_moodlenet_install () | |
| Perform the post-install procedures. | |
| xmldb_tool_moodlenet_upgrade (int $oldversion) | |
| Upgrade the plugin. | |
Variables | |
| $functions | |
| $plugin = 2023100400 | |
| $plugin | component = 'tool_moodlenet' |
| $plugin | maturity = MATURITY_ALPHA |
| const | MOODLENET_DEFAULT_ENDPOINT "lms/moodle/search" |
| The default endpoint to MoodleNet. | |
| $plugin | version = 2023100900 |
| generate_mnet_endpoint | ( | string | $profileurl, |
| int | $course, | ||
| int | $section = 0 ) |
Generate the endpoint url to the user's moodlenet site.
| string | $profileurl | The user's moodlenet profile page |
| int | $course | The moodle course the mnet resource will be added to |
| int | $section | The section of the course will be added to. Defaults to the 0th element. |
| string | the resulting endpoint |
| moodle_exception |
| tool_moodlenet_custom_chooser_footer | ( | int | $courseid, |
| int | $sectionid ) |
Hooking function to build up the initial Activity Chooser footer information for MoodleNet.
| int | $courseid | The course the user is currently in and wants to add resources to |
| int | $sectionid | The section the user is currently in and wants to add resources to |
| activity_chooser_footer |
| dml_exception | |
| moodle_exception |
| xmldb_tool_moodlenet_upgrade | ( | int | $oldversion | ) |
Upgrade the plugin.
| int | $oldversion |
| bool | always true |
| $functions |