ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
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
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.