ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
RendererFactory.php
Go to the documentation of this file.
1<?php
2
3/* Copyright (c) 2017 Richard Klees <richard.klees@concepts-and-training.de> Extended GPL, see docs/LICENSE */
4
6
7use \ILIAS\UI\Component\Component;
8
14{
24 public function getRendererInContext(Component $component, array $contexts);
25
26 // TODO: This is missing some method to enumerate contexts and the different
27 // renderers. This would be needed to show different renderings in the Kitchen
28 // Sink.
29
36 public function getJSBinding();
37}
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
This is the interface that components should use if they want to load specific renderers.
getJSBinding()
Todo: This was implemented to fix 21830.
getRendererInContext(Component $component, array $contexts)
Get a renderer based on the current context.