Note:

If you want to create a new page for developers, you should create it on the Moodle Developer Resource site.

Messaging custom components

From MoodleDocs
Revision as of 07:44, 14 July 2011 by Andrew Davis (talk | contribs)

Note: This page is a work-in-progress. Feedback and suggested improvements are welcome. Please join the discussion on moodle.org or use the page comments.

Intro

Since Moodle 2.0 it has been possible to easily integrate your own custom components into the Moodle messaging system. There are two types of components you may wish to implement.

  • message providers - These create new messages and send them via the messaging system.
  • message processors - These are optionally used by message recipients and receive and process messages sent to that user.

Instructions on how to build a message provider or message processor as well as sample implementations of each are below.

Message provider

work in progress...

Message processor

work in progress...