ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
Renderer.php
Go to the documentation of this file.
1 <?php
2 
3 /* Copyright (c) 2016 Richard Klees <richard.klees@concepts-and-training.de> Extended GPL, see docs/LICENSE */
4 
5 namespace ILIAS\UI;
6 
8 
14 interface Renderer
15 {
16 
25  public function render($component);
26 
35  public function renderAsync($component);
36 
54  public function withAdditionalContext(Component $context);
55 }
An entity that renders components to a string output.
Definition: Renderer.php:14
$context
Definition: webdav.php:25
withAdditionalContext(Component $context)
Get a new renderer with an additional context.
renderAsync($component)
Same as render, except that this version also returns any javascript code bound to the on load event...
render($component)
Render given component.