ILIAS  release_6 Revision v6.24-5-g0c8bfefb3b8
RepositoryLinkItemRenderer.php
Go to the documentation of this file.
1<?php
2
4
5use ILIAS\GlobalScreen\Collector\Renderer\ComponentDecoratorApplierTrait;
9
14{
15 use ComponentDecoratorApplierTrait;
16
20 public function getComponentWithContent(isItem $item) : Component
21 {
22 if ($item instanceof isInterchangeableItem && !$item->getParent()) {
23 return $this->ui_factory->link()->bulky($this->getStandardSymbol($item), $item->getTitle(), $this->getURI($item->getAction()));
24 } else {
25 return $this->ui_factory->link()->bulky($this->getStandardSymbol($item), $item->getTitle(), $this->getURI($item->getAction()));
26 }
27 }
28}
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