◆ get_core_renderer()
core\output\renderer_helper::get_core_renderer |
( |
| ) |
|
Get the core renderer.
This method is a shortcut to get the core renderer with the correct return type declaration. This way the IDE can provide better autocompletion.
- Return values
-
◆ get_page()
core\output\renderer_helper::get_page |
( |
| ) |
|
Get the current page instance.
- Return values
-
◆ get_renderer()
core\output\renderer_helper::get_renderer |
( |
string | $component, |
|
|
?string | $subtype = null ) |
Get the renderer for a particular part of Moodle.
- Parameters
-
string | $component | name such as 'core', 'mod_forum' or 'qtype_multichoice'. |
string | null | $subtype | optional subtype such as 'news' resulting to 'mod_forum_news' |
- Return values
-
The documentation for this class was generated from the following file:
- lib/classes/output/renderer_helper.php