File handling
Moodle provides two ways to fetch and upload files:
Moodle provides two ways to fetch and upload files:
Before they can be used, all functions must be declared to Moodle, and their inputs and outputs must be defined.
An External function definition is the class, and collection of functions, used to define:
Before operating on any data in an external function, you must ensure that the user:
Moodle comes with two built-in services that your functions can be attached to.
Unit tests are the best way of checking the behaviour of your external services and can help you to:
This documentation covers the creation of a new external service for use in a web service of a fictional local plugin, local_groupmanager.