The external API to send activity to MoodleNet.
More...
|
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.
|
|
The external API to send activity to MoodleNet.
- Copyright
- 2023 Huong Nguyen huong.nosp@m.nv13.nosp@m.@gmai.nosp@m.l.co.nosp@m.m
- License
- http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
◆ 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: