In the previous chapter, we investigated the types of plugin that we can develop to enhance the Moodle platform. But how does a plugin talk to Moodle? In Chapter 1, Getting to Grips with the Moodle 3 Architecture, we introduced a few of the Moodle Application Programming Interfaces (APIs), specifically discussing why as developers we should use the data manipulation API to talk to the Moodle database rather than manipulating the database directly.
We begin this chapter by taking up the local plugin we developed in Chapter 1, Getting to Grips with the Moodle 3 Architecture ;and begin to enhance it to do some more interesting things--for example, it would be more useful if we can configure the languages it displays and it might be useful if we can specify the order in which the languages are displayed.
By the end of this chapter, you will have:
- A good appreciation...