ILIAS
trunk Revision v11.0_alpha-1831-g8615d53dadb
|
An entity that renders components to a string output. More...
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... | |
An entity that renders components to a string output.
Definition at line 30 of file Renderer.php.
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. |
Implemented in NullDefaultRenderer, ILIAS\UI\Implementation\Render\DecoratedRenderer, and ILIAS\UI\Implementation\DefaultRenderer.
Referenced by ilContProfileTableGUI\fillRow(), ILIAS\UI\examples\Layout\Page\Standard\getDemoEntryPersonalWorkspace(), ILIAS\UI\examples\Layout\Page\Standard\pagedemoContent(), ILIAS\LegalDocuments\PageFragment\PageContent\render(), and ILIAS\UI\Implementation\Render\DecoratedRenderer\renderDefault().
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. |
Implemented in NullDefaultRenderer, ILIAS\UI\Implementation\DefaultRenderer, and ILIAS\UI\Implementation\Render\DecoratedRenderer.