19 declare(strict_types=1);
51 $this->
ui = $DIC->ui();
60 if (str_starts_with($uri_string,
'http')) {
61 return new URI($uri_string);
64 return new URI(rtrim(ILIAS_HTTP_PATH,
"/") .
"/" . ltrim($uri_string,
"./"));
70 $component = $this->applyComponentDecorator($component, $item);
72 return $component->withHelpTopics(...$item->getTopics());
82 if ($item instanceof
hasSymbol && $item->hasSymbol()) {
83 return $this->applySymbolDecorator($item->getSymbol(), $item);
86 $abbr = strtoupper(substr($item->getTitle(), 0, 1));
88 $abbr = strtoupper(substr(uniqid(
'',
true), -1));
91 return $this->
ui->factory()->symbol()->icon()->standard($abbr, $abbr,
'small',
true)->withAbbreviation($abbr);
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...
Provides fluid interface to RBAC services.