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

Public Member Functions

 __construct (moodle_page $page, $target)
 render (renderable $widget)
 __call ($method, $arguments)

Protected Attributes

 $output

Detailed Description

Basis for all plugin renderers.

Author:
Petr Skoda (skodak) http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
Since:
Moodle 2.0

Definition at line 145 of file outputrenderers.php.


Constructor & Destructor Documentation

__construct ( moodle_page page,
target 
)

Constructor method, calls the parent constructor

Parameters:
moodle_page$page
string$targetone of rendering target constants

Reimplemented from renderer_base.

Reimplemented in core_course_renderer.

Definition at line 157 of file outputrenderers.php.

Here is the call graph for this function:


Member Function Documentation

__call ( method,
arguments 
)

Magic method used to pass calls otherwise meant for the standard renderer to it to ensure we don't go causing unnecessary grief.

Parameters:
string$method
array$arguments
Returns:
mixed

Definition at line 184 of file outputrenderers.php.

render ( renderable widget)

Returns rendered widget.

Parameters:
renderable$widgetinstance with renderable interface
Returns:
string

Reimplemented from renderer_base.

Definition at line 167 of file outputrenderers.php.

Here is the caller graph for this function:


Field Documentation

$output [protected]

Definition at line 150 of file outputrenderers.php.


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