As you write applications, you will occasionally want to notify users other than the current one of events that have happened or will happen. This is different than displaying it on the screen as it happens.
This chapter will cover methods of communicating with users via various notification methods. To do this, Moodle provides many methods, including:
Let's set up some reasons to notify users, so we can try out the different methods. We'll bring back the journal assignment type fromChapter 7,Developing Pluggable Core Modules.
What if you could set up each day's journal to notify certain people and allow them to read it, once a user posts an entry.
So, we need a system that grants users the ability to receive notification of any journal entry posted. And, we want to be able to select the way that the notification is generated: e-mail, Moodle messaging, or RSS feed.
We can start by adding another...