ILIAS  release_9 Revision v9.13-25-g2c18ec4c24f
FieldRendererFactory.php
Go to the documentation of this file.
1 <?php
2 
19 declare(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  $this->help_text_retriever,
40  $this->upload_limit_resolver
41  );
42  }
43  return new Renderer(
44  $this->ui_factory,
45  $this->tpl_factory,
46  $this->lng,
47  $this->js_binding,
48  $this->refinery,
49  $this->image_path_resolver,
50  $this->data_factory,
51  $this->help_text_retriever,
52  $this->upload_limit_resolver
53  );
54  }
55 }
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
getRendererInContext(Component\Component $component, array $contexts)
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...