ILIAS  trunk Revision v13.0_alpha-62-g3b72d83f2e5
TransferRendererFactory.php
Go to the documentation of this file.
1<?php
2
18declare(strict_types=1);
19
21
25
30{
31 protected const string FOOTER_CONTEXT = 'FooterMainControls';
32
33 public function getRendererInContext(Component $component, array $contexts): ComponentRenderer
34 {
35 if ($this->context_matcher->isDescendantOfAny($contexts, [self::FOOTER_CONTEXT])) {
36 return new FooterContextRenderer(
37 $this->ui_factory,
38 $this->tpl_factory,
39 $this->lng,
40 $this->js_binding,
41 $this->image_path_resolver,
42 $this->data_factory,
43 $this->help_text_retriever,
44 $this->upload_limit_resolver,
45 $this->refinery,
46 );
47 }
48 return parent::getRendererInContext($component, $contexts);
49 }
50}
Renders Transfer components inside the Footer MainControl differently.
getRendererInContext(Component $component, array $contexts)
@inheritdocs
A component is the most general form of an entity in the UI.
Definition: Component.php:28
An entity that renders components to a string output.