Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 4.3.x will end 7 October 2024 (12 months).
  • Bug fixes for security issues in 4.3.x will end 21 April 2025 (18 months).
  • PHP version: minimum PHP 8.0.0 Note: minimum PHP version has increased since Moodle 4.1. PHP 8.2.x is supported too.

Differences Between: [Versions 402 and 403]

(no description)

File Size: 152 lines (5 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

moodlenet_get_share_info_activity:: (4 methods):
  execute_parameters()
  execute()
  execute_returns()
  return_errors()


Class: moodlenet_get_share_info_activity  - X-Ref

The external API to het the activity information for MoodleNet sharing.

execute_parameters()   X-Ref
Returns description of parameters.

return: external_function_parameters

execute(int $cmid)   X-Ref
External function to get the activity information.

param: int $cmid The course module id.
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, int $issuerid = 0)   X-Ref
Handle return error.

param: int $itemid Item id.
param: string $warningcode Warning code.
param: string $message Message.
param: int $issuerid Issuer id.
return: array