ILIAS  release_7 Revision v7.30-3-g800a261c036
All Data Structures Namespaces Files Functions Variables Modules Pages
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 
26  public function render($component, ?Renderer $root = null);
27 
38  public function renderAsync($component, ?Renderer $root = null);
39 
57  public function withAdditionalContext(Component $context);
58 }
An entity that renders components to a string output.
Definition: Renderer.php:14
$context
Definition: webdav.php:26
render($component, ?Renderer $root=null)
Render given component.
withAdditionalContext(Component $context)
Get a new renderer with an additional context.
renderAsync($component, ?Renderer $root=null)
Same as render, except that this version also returns any javascript code bound to the on load event...