ILIAS  release_10 Revision v10.1-43-ga1241a92c2f
ComponentRenderer.php
Go to the documentation of this file.
1 <?php
2 
3 declare(strict_types=1);
4 
22 
25 
32 {
39  public function render(Component $component, Renderer $default_renderer): string;
40 
44  public function registerResources(ResourceRegistry $registry): void;
45 }
Registry for resources required by rendered output like Javascript or CSS.
An entity that renders components to a string output.
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...
registerResources(ResourceRegistry $registry)
Announce resources this renderer requires.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
render(Component $component, Renderer $default_renderer)
Render the component if possible and delegate additional rendering to the default_renderer.