Moodle  2.2.1
http://www.collinsharper.com
standard_renderer_factory Class Reference
Inheritance diagram for standard_renderer_factory:
Collaboration diagram for standard_renderer_factory:

Public Member Functions

 get_renderer (moodle_page $page, $component, $subtype=null, $target=null)

Detailed Description

This is the default renderer factory for Moodle. It simply returns an instance of the appropriate standard renderer class.

Since:
Moodle 2.0

Definition at line 207 of file outputfactories.php.


Member Function Documentation

get_renderer ( moodle_page page,
component,
subtype = null,
target = null 
)

Implement the subclass method

Parameters:
moodle_page$pagethe page the renderer is outputting content for.
string$componentname such as 'core', 'mod_forum' or 'qtype_multichoice'.
string$subtypeoptional subtype such as 'news' resulting to 'mod_forum_news'
string$targetone of rendering target constants
Returns:
object an object implementing the requested renderer interface.

Implements renderer_factory.

Definition at line 216 of file outputfactories.php.

Here is the call graph for this function:


The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Enumerations