This is the external API for this component.
More...
This is the external API for this component.
- Copyright
- 2020 Mathew May
- License
- http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
◆ search_courses()
static tool_moodlenet\external::search_courses |
( |
string | $searchvalue | ) |
|
|
static |
For some given input find and return any course that matches it.
- Parameters
-
string | $searchvalue | The profile url that the user states exists |
- Return values
-
array | Contains the result set of courses for the value |
◆ search_courses_parameters()
static tool_moodlenet\external::search_courses_parameters |
( |
| ) |
|
|
static |
search_courses_parameters
- Return values
-
external_function_parameters | |
◆ search_courses_returns()
static tool_moodlenet\external::search_courses_returns |
( |
| ) |
|
|
static |
search_courses_returns.
- Return values
-
◆ verify_webfinger()
static tool_moodlenet\external::verify_webfinger |
( |
string | $profileurl, |
|
|
int | $course, |
|
|
int | $section ) |
|
static |
Figure out if the passed content resolves with a WebFinger account.
- Parameters
-
string | $profileurl | The profile url that the user states exists |
int | $course | The course we are adding to |
int | $section | The section within the course we are adding to |
- Return values
-
array | Contains the result and domain if any |
- Exceptions
-
◆ verify_webfinger_parameters()
static tool_moodlenet\external::verify_webfinger_parameters |
( |
| ) |
|
|
static |
verify_webfinger parameters
- Return values
-
external_function_parameters | |
◆ verify_webfinger_returns()
static tool_moodlenet\external::verify_webfinger_returns |
( |
| ) |
|
|
static |
verify_webfinger return.
- Return values
-
The documentation for this class was generated from the following file:
- admin/tool/moodlenet/classes/external.php