Differences Between: [Versions 310 and 402] [Versions 311 and 402] [Versions 39 and 402] [Versions 400 and 402] [Versions 401 and 402]
Test factory for lib/outputfactories.php.
Copyright: | 2014 Damyon Wiese |
License: | http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later |
File Size: | 148 lines (6 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
test_output_factory:: (2 methods):
__construct()
get_renderer()
is:: (2 methods):
get_standard_renderer_factory_search_paths()
get_theme_overridden_renderer_factory_search_paths()
Class: test_output_factory - X-Ref
This is renderer factory testing of the classname autoloading.__construct() X-Ref |
Constructor. |
get_renderer(moodle_page $page, $component, $subtype = null, $target = null) X-Ref |
Not used - we want to test the autoloaded class locations - even if there are no classes yet. |
get_standard_renderer_factory_search_paths($component, $subtype = null, $target = null) X-Ref |
No description |
get_theme_overridden_renderer_factory_search_paths($component, $subtype = null, $target = null) X-Ref |
Return the list of classnames searched for by the get_renderer method of theme_overridden_renderer. param: string $component name such as 'core', 'mod_forum' or 'qtype_multichoice'. param: string $subtype optional subtype such as 'news' resulting to 'mod_forum_news' param: string $target one of rendering target constants return: string[] of classnames |