|
Moodle
2.2.1
http://www.collinsharper.com
|


Public Member Functions | |
| get_renderer (moodle_page $page, $component, $subtype=null, $target=null) | |
This is the default renderer factory for Moodle. It simply returns an instance of the appropriate standard renderer class.
Definition at line 207 of file outputfactories.php.
| get_renderer | ( | moodle_page $ | page, |
| $ | component, | ||
| $ | subtype = null, |
||
| $ | target = null |
||
| ) |
Implement the subclass method
| moodle_page | $page | the page the renderer is outputting content for. |
| string | $component | name such as 'core', 'mod_forum' or 'qtype_multichoice'. |
| string | $subtype | optional subtype such as 'news' resulting to 'mod_forum_news' |
| string | $target | one of rendering target constants |
Implements renderer_factory.
Definition at line 216 of file outputfactories.php.
