ILIAS  release_8 Revision v8.24
RendererFactory.php
Go to the documentation of this file.
1<?php
2
3declare(strict_types=1);
4
22
24
30{
38 public function getRendererInContext(Component $component, array $contexts): ComponentRenderer;
39
40 // TODO: This is missing some method to enumerate contexts and the different
41 // renderers. This would be needed to show different renderings in the Kitchen
42 // Sink.
43
48 public function getJSBinding(): JavaScriptBinding;
49}
A component is the most general form of an entity in the UI.
Definition: Component.php:28
An entity that renders components to a string output.
Provides methods to interface with javascript.
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.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...