Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 3.11.x will end 14 Nov 2022 (12 months plus 6 months extension).
  • Bug fixes for security issues in 3.11.x will end 13 Nov 2023 (18 months plus 12 months extension).
  • PHP version: minimum PHP 7.3.0 Note: minimum PHP version has increased since Moodle 3.10. PHP 7.4.x is supported too.

Differences Between: [Versions 311 and 402] [Versions 311 and 403]

This is the external API for this component.

Copyright: 2020 Mathew May {@link https://mathew.solutions}
License: http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
File Size: 189 lines (7 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 1 file
 admin/tool/moodlenet/lib.php

Defines 1 class


Class: external  - X-Ref

This is the external API for this component.

verify_webfinger_parameters()   X-Ref
verify_webfinger parameters

return: external_function_parameters

verify_webfinger(string $profileurl, int $course, int $section)   X-Ref
Figure out if the passed content resolves with a WebFinger account.

param: string $profileurl The profile url that the user states exists
param: int $course The course we are adding to
param: int $section The section within the course we are adding to
return: array Contains the result and domain if any

verify_webfinger_returns()   X-Ref
verify_webfinger return.

return: \external_description

search_courses_parameters()   X-Ref
search_courses_parameters

return: external_function_parameters

search_courses(string $searchvalue)   X-Ref
For some given input find and return any course that matches it.

param: string $searchvalue The profile url that the user states exists
return: array Contains the result set of courses for the value

search_courses_returns()   X-Ref
search_courses_returns.

return: \external_description