ILIAS  release_8 Revision v8.19
All Data Structures Namespaces Files Functions Variables Modules Pages
Renderer.php
Go to the documentation of this file.
1 <?php
2 
3 declare(strict_types=1);
4 
21 namespace ILIAS\UI;
22 
24 
30 interface Renderer
31 {
41  public function render($component, ?Renderer $root = null);
42 
53  public function renderAsync($component, ?Renderer $root = null);
54 
70 }
An entity that renders components to a string output.
Definition: Renderer.php:30
$context
Definition: webdav.php:29
render($component, ?Renderer $root=null)
Render given component.
withAdditionalContext(Component $context)
Get a new renderer with an additional context.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
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...