ILIAS  release_7 Revision v7.30-3-g800a261c036
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
5namespace ILIAS\UI;
6
8
14interface Renderer
15{
16
26 public function render($component, ?Renderer $root = null);
27
38 public function renderAsync($component, ?Renderer $root = null);
39
58}
An exception for terminatinating execution or to throw for unit testing.
A component is the most general form of an entity in the UI.
Definition: Component.php:14
An entity that renders components to a string output.
Definition: Renderer.php:15
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,...
$context
Definition: webdav.php:26