ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
Renderer that dispatches rendering of UI components to a Renderer found in the same namespace as the component to be renderered. More...
Public Member Functions | |
__construct (RootFactory $ui_factory, TemplateFactory $tpl_factory, ResourceRegistry $resource_registry, \ilLanguage $lng, JavaScriptBinding $js_binding) | |
render (Component $component) | |
getRendererFor ($class) | |
Get a renderer for a certain Component class. More... | |
instantiateRendererFor ($class) | |
Instantiate a renderer for a certain Component class. More... | |
getRendererNameFor ($class) | |
Get the class name for the renderer of Component class. More... | |
Public Member Functions inherited from ILIAS\UI\Renderer | |
render (Component\Component $component) | |
Render given component. More... | |
Private Attributes | |
$ui_factory | |
$cache = array() | |
$tpl_factory | |
$resource_registry | |
$lng | |
$js_binding | |
Renderer that dispatches rendering of UI components to a Renderer found in the same namespace as the component to be renderered.
Definition at line 19 of file DefaultRenderer.php.
ILIAS\UI\Implementation\DefaultRenderer::__construct | ( | RootFactory | $ui_factory, |
TemplateFactory | $tpl_factory, | ||
ResourceRegistry | $resource_registry, | ||
\ilLanguage | $lng, | ||
JavaScriptBinding | $js_binding | ||
) |
Definition at line 50 of file DefaultRenderer.php.
References ILIAS\UI\Implementation\DefaultRenderer\$js_binding, ILIAS\UI\Implementation\DefaultRenderer\$lng, ILIAS\UI\Implementation\DefaultRenderer\$resource_registry, ILIAS\UI\Implementation\DefaultRenderer\$tpl_factory, and ILIAS\UI\Implementation\DefaultRenderer\$ui_factory.
ILIAS\UI\Implementation\DefaultRenderer::getRendererFor | ( | $class | ) |
Get a renderer for a certain Component class.
Either initializes a new renderer or uses a cached one initialized before.
string | $class |
Definition at line 76 of file DefaultRenderer.php.
References ILIAS\UI\Implementation\DefaultRenderer\instantiateRendererFor().
Referenced by ILIAS\UI\Implementation\DefaultRenderer\render().
ILIAS\UI\Implementation\DefaultRenderer::getRendererNameFor | ( | $class | ) |
Get the class name for the renderer of Component class.
string | $class |
Definition at line 109 of file DefaultRenderer.php.
Referenced by ILIAS\UI\Implementation\DefaultRenderer\instantiateRendererFor().
ILIAS\UI\Implementation\DefaultRenderer::instantiateRendererFor | ( | $class | ) |
Instantiate a renderer for a certain Component class.
This will always create a fresh renderer for the component.
string | $class |
Definition at line 95 of file DefaultRenderer.php.
References ILIAS\UI\Implementation\DefaultRenderer\getRendererNameFor().
Referenced by ILIAS\UI\Implementation\DefaultRenderer\getRendererFor().
ILIAS\UI\Implementation\DefaultRenderer::render | ( | Component | $component | ) |
Definition at line 61 of file DefaultRenderer.php.
References ILIAS\UI\Implementation\DefaultRenderer\getRendererFor().
|
private |
Definition at line 28 of file DefaultRenderer.php.
|
private |
Definition at line 48 of file DefaultRenderer.php.
Referenced by ILIAS\UI\Implementation\DefaultRenderer\__construct().
|
private |
Definition at line 43 of file DefaultRenderer.php.
Referenced by ILIAS\UI\Implementation\DefaultRenderer\__construct().
|
private |
Definition at line 38 of file DefaultRenderer.php.
Referenced by ILIAS\UI\Implementation\DefaultRenderer\__construct().
|
private |
Definition at line 33 of file DefaultRenderer.php.
Referenced by ILIAS\UI\Implementation\DefaultRenderer\__construct().
|
private |
Definition at line 23 of file DefaultRenderer.php.
Referenced by ILIAS\UI\Implementation\DefaultRenderer\__construct().