19 declare(strict_types=1);
32 protected const string 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) {
68 $link = $copyright->
link();
71 if ($full_name !==
'') {
75 $res[] = (string) $link;
78 return implode(
' ',
$res);
128 return \ilUtil::getImagePath(self::FALLBACK_IMG);
133 if (!$copyright->
link()) {
138 (string) $copyright->
link()
139 )->withAdditionalRelationshipToReferencedResource(Relationship::LICENSE);
149 return $this->
factory->link()->standard($label, $action);
154 return $this->
factory->legacy()->content($text);
159 if ($identifier = $this->irss->manage()->find($string_id)) {
160 return $this->irss->consume()->src($identifier)->getSrc();
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This is how the factory for UI elements looks.
Relationship
Note that not all valid values of the rel-attribute of anchor tags are included here (see https://htm...