ILIAS
trunk Revision v11.0_alpha-3011-gc6b235a2e85
|
Public Member Functions | |||||||
__construct (Render\Loader $component_renderer_loader, JavaScriptBinding $java_script_binding, \ILIAS\Language\Language $language, array $with_stub_renderings=[], protected array $with_additional_contexts=[],) | |||||||
_getRendererFor (IComponent $component) | |||||||
getRendererFor (IComponent $component) | |||||||
_getContexts () | |||||||
getComponentCanonicalNameAttribute (IComponent $component) | |||||||
![]() | |||||||
__construct (private Render\Loader $component_renderer_loader, private JavaScriptBinding $java_script_binding, private \ILIAS\Language\Language $language,) | |||||||
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
| |||||||
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.
| |||||||
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... | |||||||
Protected Attributes | |
array | $with_stub_renderings = [] |
Additional Inherited Members | |
![]() | |
getRendererFor (Component $component) | |
Get a renderer for a certain Component class. More... | |
getContexts () | |
Returns the current context stack, where most recently added components are last. More... | |
pushContext (Component $component) | |
Adds a component to the current context stack. More... | |
popContext () | |
Removes the most recently added component from the current context stack. More... | |
TestDefaultRenderer::__construct | ( | Render\Loader | $component_renderer_loader, |
JavaScriptBinding | $java_script_binding, | ||
\ILIAS\Language\Language | $language, | ||
array | $with_stub_renderings = [] , |
||
protected array | $with_additional_contexts = [] |
||
) |
Definition at line 233 of file Base.php.
References $c, $with_stub_renderings, ILIAS\GlobalScreen\Provider\__construct(), and ILIAS\UI\Implementation\DefaultRenderer\pushContext().
TestDefaultRenderer::_getContexts | ( | ) |
Definition at line 262 of file Base.php.
References ILIAS\UI\Implementation\DefaultRenderer\getContexts().
TestDefaultRenderer::_getRendererFor | ( | IComponent | $component | ) |
Definition at line 249 of file Base.php.
References getRendererFor().
TestDefaultRenderer::getComponentCanonicalNameAttribute | ( | IComponent | $component | ) |
TestDefaultRenderer::getRendererFor | ( | IComponent | $component | ) |
Definition at line 254 of file Base.php.
Referenced by _getRendererFor().
|
protected |
Definition at line 231 of file Base.php.
Referenced by __construct().