|
static | execute (int $issuerid, int $courseid, int $shareformat, array $cmids=[],) |
| External function to send the course to MoodleNet.
|
|
static | execute_parameters () |
| Describes the parameters for sending the course.
|
|
static | execute_returns () |
| Describes the data returned from the external function.
|
|
|
static | return_errors (int $itemid, string $warningcode, string $message) |
| Handle return error.
|
|
◆ execute()
static core\external\moodlenet_send_course::execute |
( |
int | $issuerid, |
|
|
int | $courseid, |
|
|
int | $shareformat, |
|
|
array | $cmids = [] ) |
|
static |
External function to send the course to MoodleNet.
- Parameters
-
int | $issuerid | The MoodleNet OAuth 2 issuer ID |
int | $courseid | The course ID |
int | $shareformat | The share format being used, as defined by core\moodlenet\course_sender |
array | $cmids | The course module ids |
- Return values
-
◆ execute_parameters()
static core\external\moodlenet_send_course::execute_parameters |
( |
| ) |
|
|
static |
Describes the parameters for sending the course.
- Return values
-
external_function_parameters | |
◆ execute_returns()
static core\external\moodlenet_send_course::execute_returns |
( |
| ) |
|
|
static |
Describes the data returned from the external function.
- Return values
-
external_single_structure | |
◆ return_errors()
static core\external\moodlenet_send_course::return_errors |
( |
int | $itemid, |
|
|
string | $warningcode, |
|
|
string | $message ) |
|
staticprotected |
Handle return error.
- Parameters
-
int | $itemid | Item id |
string | $warningcode | Warning code |
string | $message | Message |
- Return values
-
The documentation for this class was generated from the following file:
- lib/classes/external/moodlenet_send_course.php