Differences Between: [Versions 402 and 403]
(no description)
File Size: | 185 lines (7 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
moodlenet_send_activity:: (4 methods):
execute_parameters()
execute()
execute_returns()
return_errors()
Class: moodlenet_send_activity - X-Ref
The external API to send activity to MoodleNet.execute_parameters() X-Ref |
Describes the parameters for sending the activity. return: external_function_parameters |
execute(int $issuerid, int $cmid, int $shareformat) X-Ref |
External function to send the activity to MoodleNet. param: int $issuerid The MoodleNet OAuth 2 issuer ID param: int $cmid The course module ID of the activity that being shared param: int $shareformat The share format being used, as defined by \core\moodlenet\activity_sender return: array |
execute_returns() X-Ref |
Describes the data returned from the external function. return: external_single_structure |
return_errors(int $itemid, string $warningcode, string $message) X-Ref |
Handle return error. param: int $itemid Item id param: string $warningcode Warning code param: string $message Message return: array |