ILIAS  release_8 Revision v8.24
FieldRendererFactory.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
22
25
27{
28 public function getRendererInContext(Component\Component $component, array $contexts): Render\AbstractComponentRenderer
29 {
30 if (in_array('StandardFilterContainerInput', $contexts)) {
31 return new FilterContextRenderer(
32 $this->ui_factory,
33 $this->tpl_factory,
34 $this->lng,
35 $this->js_binding,
36 $this->refinery,
37 $this->image_path_resolver,
38 $this->data_factory
39 );
40 }
41 return new Renderer(
42 $this->ui_factory,
43 $this->tpl_factory,
44 $this->lng,
45 $this->js_binding,
46 $this->refinery,
47 $this->image_path_resolver,
48 $this->data_factory
49 );
50 }
51}
getRendererInContext(Component\Component $component, array $contexts)
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...
Definition: Checkbox.php:21
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...