Note:

This site is no longer used and is in read-only mode. Instead please go to our new Moodle Developer Resource site.

Guide to creating output elements: Difference between revisions

From MoodleDocs
Created page with "{{Infobox Project |name = Renderer consistency |state = Specification |tracker = https://tracker.moodle.org/browse/MDL-45885 |discussion = https://moodle.org/mod/forum/discuss..."
 
Damyon Wiese (talk | contribs)
No edit summary
 
(5 intermediate revisions by 2 users not shown)
Line 6: Line 6:
|assignee = Damyon, Sam
|assignee = Damyon, Sam
}}
}}
{{Work in progress|forumurl=https://moodle.org/mod/forum/discuss.php?d=261202}}
{{Work in progress|forumurl=https://moodle.org/mod/forum/discuss.php?d=261202|info=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.
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).

Latest revision as of 06:54, 28 April 2015

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).