PukunuiAustralia/moodle-courseformat_grid — pull request #4 by gjb2048 (2012-07-16 20:48:27+00:00)
Title: Move to using renderer.php.

Dear Julian,

This is the refactored code to move the format to using 'renderer.php'. It makes use of the inherited methods in '/course/format/renderer.php' that I originally had to poach. It also makes use of the 'format_summary_text' method for the @@plugin... issue you had.

It should work with the new 'One section per page' course setting but does not at the moment for some unknown reason - pulling my hair over this.

Even though there are not any visible changes it should make the code more resilient to core changes.

renderer.php is by no means complete as you'll see from the commented out code, but it works and its a start.

Cheers,

Gareth