Guide to creating output elements
From MoodleDocs
Renderer consistency | |
---|---|
Project state | Specification |
Tracker issue | https://tracker.moodle.org/browse/MDL-45885 |
Discussion | https://moodle.org/mod/forum/discuss.php?d=261202 |
Assignee | Damyon, Sam |
Note: This page is a work-in-progress. Feedback and suggested improvements are welcome. Please join the discussion on moodle.org or use the page comments. This entire page needs rewriting as we now want to implement templates in renderers instead of relying on strict php OO inheritance
A guide to writing output elements and the render methods for them.
Note - page text removed because Mustache Templates were chosen instead of this php based hierarchy of objects. (See the history to retrieve the original text).