Note:

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

Messaging custom components: Difference between revisions

From MoodleDocs
(Created page with "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...")
 
No edit summary
Line 1: Line 1:
{{Work in progress}}
=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.
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 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.
* 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...

Revision as of 07:44, 14 July 2011

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...