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
5namespace ILIAS\UI;
6
8
14interface Renderer
15{
16
25 public function render($component);
26
35 public function renderAsync($component);
36
55}
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
withAdditionalContext(Component $context)
Get a new renderer with an additional context.
render($component)
Render given component.
renderAsync($component)
Same as render, except that this version also returns any javascript code bound to the on load event,...
$context
Definition: webdav.php:25