Development:Output renderers: Difference between revisions
From MoodleDocs
No edit summary |
|||
Line 15: | Line 15: | ||
=Renderers= | =Renderers= | ||
Output renderer is a class with collection of methods that handle rendering of visual aspects of Moodle pages, emails, html export, etc. In 1.9 general output related functions were located in weblib.php and modules stored rendering code in lib.php, locallib.php, view.php, etc. | |||
==Renderer targets== | ==Renderer targets== | ||
Line 30: | Line 32: | ||
==Theme renderers== | ==Theme renderers== | ||
=HTML output= | |||
=See also= | =See also= |
Revision as of 17:46, 7 January 2010
Note: This article is a work in progress. Please use the page comments or an appropriate moodle.org forum for any recommendations/suggestions for improvement.
Template:Infobox Project
Template:Moodle 2.0
Goals
- stable API
- easy to use
- easy to customise via themes
Renderers
Output renderer is a class with collection of methods that handle rendering of visual aspects of Moodle pages, emails, html export, etc. In 1.9 general output related functions were located in weblib.php and modules stored rendering code in lib.php, locallib.php, view.php, etc.