|
Moodle APIs 4.2
Moodle 4.2.7 (Build: 20240422)
|
Files | |
| file | external.php |
| This is the external API for this component. | |
| file | import_backup_helper.php |
| Contains the import_backup_helper class. | |
| file | import_handler_info.php |
| Contains the import_handler_info class. | |
| file | import_handler_registry.php |
| Contains the import_handler_registry class. | |
| file | import_info.php |
| Contains the import_info class. | |
| file | import_processor.php |
| Contains the import_processor class. | |
| file | import_strategy.php |
| Contains the import_strategy interface. | |
| file | import_strategy_file.php |
| Contains the import_strategy_file class. | |
| file | import_strategy_link.php |
| Contains the import_strategy_link class. | |
| file | install.php |
| Install script for tool_moodlenet. | |
| file | lib.php |
| This page lists public api for tool_moodlenet plugin. | |
| file | moodlenet_user_profile.php |
| Moodle net user profile class. | |
| file | post_install.php |
| Ad-hoc task to perform post install tasks. | |
| file | profile_manager.php |
| Profile manager class. | |
| file | provider.php |
| Privacy class for tool_moodlenet. | |
| file | remote_resource.php |
| Contains the remote_resource class definition. | |
| file | renderer.php |
| Renderer. | |
| file | select_page.php |
| Select page renderable. | |
| file | send_enable_notification.php |
| Ad-hoc task to send the notification to admin stating MoodleNet is automatically enabled after upgrade. | |
| file | send_mnet_profiles_data_removed_notification.php |
| Ad-hoc task to send a notification to admin stating that the user data related to the linked MoodleNet profiles has been removed. | |
| file | services.php |
| Tool Moodle.Net webservice definitions. | |
| file | settings.php |
| Puts the plugin actions into the admin settings tree. | |
| file | upgrade.php |
| Upgrade script for tool_moodlenet. | |
| file | url.php |
| Contains the url class, providing a representation of a url and operations on its component parts. | |
| file | version.php |
| Version file for tool_moodlenet. | |
Namespaces | |
| namespace | tool_moodlenet |
| | |
| namespace | tool_moodlenet\local |
| | |
| namespace | tool_moodlenet\output |
| | |
| namespace | tool_moodlenet\privacy |
| | |
| namespace | tool_moodlenet\task |
| | |
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 = 2023041800 | |
| $plugin | component = 'tool_moodlenet' |
| $plugin | maturity = MATURITY_ALPHA |
| const | MOODLENET_DEFAULT_ENDPOINT "lms/moodle/search" |
| The default endpoint to MoodleNet. | |
| $plugin | version = 2023042400 |
| 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 |