ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
ComponentRenderer.php
Go to the documentation of this file.
1 <?php
2 
3 /* Copyright (c) 2016 Richard Klees <richard.klees@concepts-and-training.de> Extended GPL, see docs/LICENSE */
4 
6 
9 
16 {
26  public function render(Component $component, Renderer $default_renderer);
27 
34  public function registerResources(ResourceRegistry $registry);
35 }
Registry for resources required by rendered output like Javascript or CSS.
An entity that renders components to a string output.
Definition: Renderer.php:14
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.