Skip to main content

7 docs tagged with "Web Services"

View All Tags

Function Declarations

Before they can be used, all functions must be declared to Moodle, and their inputs and outputs must be defined.

Function Definitions

An External function definition is the class, and collection of functions, used to define:

Security

Before operating on any data in an external function, you must ensure that the user:

Service creation

Moodle comes with two built-in services that your functions can be attached to.

Unit Testing

Unit tests are the best way of checking the behaviour of your external services and can help you to:

Writing a new service

This documentation covers the creation of a new external service for use in a web service of a fictional local plugin, local_groupmanager.