(no description)
File Size: | 244 lines (9 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
moodlenet_send_course:: (4 methods):
execute_parameters()
execute()
execute_returns()
return_errors()
Class: moodlenet_send_course - X-Ref
The external API to send course to MoodleNet.execute_parameters() X-Ref |
Describes the parameters for sending the course. return: external_function_parameters |
execute(int $issuerid,int $courseid,int $shareformat,array $cmids = [],) X-Ref |
External function to send the course to MoodleNet. param: int $issuerid The MoodleNet OAuth 2 issuer ID param: int $courseid The course ID param: int $shareformat The share format being used, as defined by \core\moodlenet\course_sender param: array $cmids The course module ids 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 |