|
static | execute (int $issuerid, int $cmid, int $shareformat) |
| External function to send the activity to MoodleNet.
|
|
static | execute_parameters () |
| Describes the parameters for sending the activity.
|
|
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_activity::execute |
( |
int | $issuerid, |
|
|
int | $cmid, |
|
|
int | $shareformat ) |
|
static |
External function to send the activity to MoodleNet.
- Parameters
-
int | $issuerid | The MoodleNet OAuth 2 issuer ID |
int | $cmid | The course module ID of the activity that being shared |
int | $shareformat | The share format being used, as defined by core\moodlenet\activity_sender |
- Return values
-
- Since
- Moodle 4.2
◆ execute_parameters()
static core\external\moodlenet_send_activity::execute_parameters |
( |
| ) |
|
|
static |
Describes the parameters for sending the activity.
- Return values
-
external_function_parameters | |
- Since
- Moodle 4.2
◆ execute_returns()
static core\external\moodlenet_send_activity::execute_returns |
( |
| ) |
|
|
static |
Describes the data returned from the external function.
- Return values
-
external_single_structure | |
- Since
- Moodle 4.2
◆ return_errors()
static core\external\moodlenet_send_activity::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_activity.php