June 2017
Beginner to intermediate
368 pages
8h 31m
English
Renderers manage most things you see on the screen when you visit a Moodle site. In Eclipse, take a look in \lib\outputrenderers.php:

The two classes of interest are renderer_base and plugin_renderer_base (which actually extends renderer_base). You will see from the comments in the code that all plugins should extend plugin_renderer_base and our new course format will be, ultimately, no exception. I say ultimately because course formats that consist of sections can be rendered via the format_section_renderer_base class (which is a helper class that makes displaying sections easier) declared in /course/format/renderer.php ...
Read now
Unlock full access