ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
◀ 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
16
{
26
public
function
render
(
Component
$component,
Renderer
$default_renderer);
27
34
public
function
registerResources
(
ResourceRegistry
$registry);
35
}
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:14
ILIAS\UI\Implementation\Render\ComponentRenderer
An entity that renders components to a string output.
Definition:
ComponentRenderer.php:15
ILIAS\UI\Component
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.
src
UI
Implementation
Render
ComponentRenderer.php
Generated on Sat Jan 18 2025 19:01:43 for ILIAS by
1.8.13 (using
Doxyfile
)