ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
ComponentRenderer.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
22
25
32{
39 public function render(Component $component, Renderer $default_renderer): string;
40
44 public function registerResources(ResourceRegistry $registry): void;
45}
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