ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
Loader.php
Go to the documentation of this file.
1<?php
2
3/* Copyright (c) 2017 Richard Klees <richard.klees@concepts-and-training.de> Extended GPL, see docs/LICENSE */
4
6
8
12interface Loader
13{
22 public function getRendererFor(Component $component, array $contexts);
23
30 public function getRendererFactoryFor(Component $component);
31}
An exception for terminatinating execution or to throw for unit testing.
A component is the most general form of an entity in the UI.
Definition: Component.php:14
Loads renderers for components.
Definition: Loader.php:13
getRendererFor(Component $component, array $contexts)
Get a renderer for a certain Component class.
getRendererFactoryFor(Component $component)
Get a factory for a renderer for a certain component class.