ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
◀ ilDoc Overview
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
5
namespace
ILIAS\UI\Implementation\Render
;
6
7
use
ILIAS\UI\Component\Component
;
8
use
ILIAS\UI\Renderer
;
9
15
interface
ComponentRenderer
{
25
public
function
render
(
Component
$component,
Renderer
$default_renderer);
26
33
public
function
registerResources
(
ResourceRegistry
$registry);
34
}
ILIAS\UI\Implementation\Render\ResourceRegistry
Registry for resources required by rendered output like Javascript or CSS.
Definition:
ResourceRegistry.php:12
ILIAS\UI\Renderer
An entity that renders components to a string output.
Definition:
Renderer.php:12
ILIAS\UI\Implementation\Render\ComponentRenderer
An entity that renders components to a string output.
Definition:
ComponentRenderer.php:15
Renderer
Component
ILIAS\UI\Implementation\Render\ComponentRenderer\registerResources
registerResources(ResourceRegistry $registry)
Announce resources this renderer requires.
ILIAS\UI\Implementation\Render
Definition:
AbstractComponentRenderer.php:5
ILIAS\UI\Implementation\Render\ComponentRenderer\render
render(Component $component, Renderer $default_renderer)
Render the component if possible and delegate additional rendering to the default_renderer.
php
src
UI
Implementation
Render
ComponentRenderer.php
Generated on Fri Jan 17 2025 19:01:21 for ILIAS by
1.8.13 (using
Doxyfile
)