ILIAS  release_8 Revision v8.24
ComponentRenderer.php
Go to the documentation of this file.
1<?php
2
3declare(strict_types=1);
4
22
25use LogicException;
26
33{
40 public function render(Component $component, Renderer $default_renderer): string;
41
45 public function registerResources(ResourceRegistry $registry): void;
46}
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.
registerResources(ResourceRegistry $registry)
Announce resources this renderer requires.
render(Component $component, Renderer $default_renderer)
Render the component if possible and delegate additional rendering to the default_renderer.
Registry for resources required by rendered output like Javascript or CSS.
An entity that renders components to a string output.
Definition: Renderer.php:31
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...