4use ILIAS\GlobalScreen\Collector\Renderer\ComponentDecoratorApplierTrait;
5use ILIAS\GlobalScreen\Collector\Renderer\isSupportedTrait;
19 use ComponentDecoratorApplierTrait;
33 $this->
ui = $DIC->ui();
44 if (strpos($uri_string,
'http') === 0) {
45 return new URI($uri_string);
58 $component = $this->applyDecorator($component, $item);
74 if ($item instanceof
hasSymbol && $item->hasSymbol()) {
75 return $item->getSymbol();
78 $abbr = strtoupper(substr($item->getTitle(), 0, 1));
80 $abbr = strtoupper(substr(uniqid(
'',
true), -1));
83 return $this->
ui->factory()->symbol()->icon()->standard($abbr, $abbr,
'small',
true)->withAbbreviation($abbr);
An exception for terminatinating execution or to throw for unit testing.
The scope of this class is split ilias-conform URI's into components.
A component is the most general form of an entity in the UI.