Skip to main content

8 docs tagged with "core_external"

View All Tags

External Services

Moodle has a full-featured Web Service framework, allowing you to use and create web services for use in external systems.

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.