3 declare(strict_types=1);
69 $root = $root ?? $this;
70 return $this->
default->
render($component, $root);
78 $root = $root ?? $this;
79 return $this->
manipulateRendering($component, $root) ?? $this->
default->render($component, $root);
87 $root = $root ?? $this;
An entity that renders components to a string output.
render($component, ?Renderer $root=null)
Render given component.
renderAsync($component, ?Renderer $root=null)
Same as render, except that this version also returns any javascript code bound to the on load event...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
renderDefault($component, ?Renderer $root=null)
Renders the component by default.
manipulateAsyncRendering($component, Renderer $root)
Manipulates the async Rendering separately if needed.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
__construct(Renderer $default)
withAdditionalContext(Component $context)
Get a new renderer with an additional context.A context makes it possible to use another renderer for...
render($component, ?Renderer $root=null)
Render given component.If an array of components is passed, this method returns a concatenated output...
manipulateRendering($component, Renderer $root)
Manipulates the rendering of one or multiple components by appending, prepending or exchanging their ...