ILIAS
release_8 Revision v8.19
|
Public Member Functions | |
render ($component, ?Renderer $root=null) | |
Render given component. More... | |
renderAsync ($component, ?Renderer $root=null) | |
Same as render, except that this version also returns any javascript code bound to the on load event, wrapped in a script tag. More... | |
withAdditionalContext (C\Component $context) | |
![]() | |
withAdditionalContext (Component $context) | |
Get a new renderer with an additional context. More... | |
Definition at line 163 of file AbstractRendererTest.php.
NullDefaultRenderer::render | ( | $component, | |
?Renderer | $root = null |
||
) |
Render given component.
If an array of components is passed, this method returns a concatenated output of each rendered component, in the same order as given in the array
Component|Component[] | $component |
?Renderer | $root of renderers in the chain to be used for rendering sub components. |
Implements ILIAS\UI\Renderer.
Definition at line 165 of file AbstractRendererTest.php.
NullDefaultRenderer::renderAsync | ( | $component, | |
?Renderer | $root = null |
||
) |
Same as render, except that this version also returns any javascript code bound to the on load event, wrapped in a script tag.
All javascript code stored for rendering will be removed after this output so it will not be rendered twice if render async is called multiple times.
Component|Component[] | $component |
?Renderer | $root of renderers in the chain to be used for rendering sub components. |
Implements ILIAS\UI\Renderer.
Definition at line 169 of file AbstractRendererTest.php.
NullDefaultRenderer::withAdditionalContext | ( | C\Component | $context | ) |
Definition at line 174 of file AbstractRendererTest.php.