June 2017
Beginner to intermediate
368 pages
8h 31m
English
In the final section of this chapter, we briefly consider interfaces for outputting data to the browser. See https://docs.moodle.org/dev/Output_renderers for details on Moodle's rendering framework. Our new enhanced choice plugin will need to include a renderer.php script. This will contain the code needed to display the activity itself--not only the choices but also the results. The renderer.php file will contain a declaration of a new class based on plugin_renderer_base:

We will be investigating--and developing--this code in much more detail in Chapter 4, ;Course Management.
Read now
Unlock full access