19 declare(strict_types=1);
32 protected const FALLBACK_IMG =
'copyrights\all_rights_reserved.svg';
52 if (!is_null($image = $this->
buildIcon($copyright))) {
55 if (!is_null($link = $this->
buildLink($copyright))) {
59 if ($copyright->
fullName() && !$has_link) {
112 return \ilUtil::getImagePath(self::FALLBACK_IMG);
117 if (!$copyright->
link()) {
122 (string) $copyright->
link()
123 )->withAdditionalRelationshipToReferencedResource(Relationship::LICENSE);
128 return $this->factory->symbol()->icon()->custom($src, $alt,
Icon::MEDIUM);
133 return $this->factory->link()->standard($label, $action);
138 return $this->factory->legacy($text);
143 if ($identifier = $this->irss->manage()->find($string_id)) {
144 return $this->irss->consume()->src($identifier)->getSrc();
This describes how an icon could be modified during construction of UI.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Relationship
Note that not all valid values of the rel-attribute of anchor tags are included here (see https://htm...