19 declare(strict_types=1);
50 $this->
ui = $DIC->ui();
59 if (strpos($uri_string,
'http') === 0) {
60 return new URI($uri_string);
63 return new URI(rtrim(ILIAS_HTTP_PATH,
"/") .
"/" . ltrim($uri_string,
"./"));
73 return $this->applyDecorator($component, $item);
84 if ($item instanceof
hasSymbol && $item->hasSymbol()) {
85 return $this->applySymbolDecorator($item->getSymbol(), $item);
88 $abbr = strtoupper(substr($item->getTitle(), 0, 1));
90 $abbr = strtoupper(substr(uniqid(
'',
true), -1));
93 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...
Provides fluid interface to RBAC services.
The scope of this class is split ilias-conform URI's into components.