19 declare(strict_types=1);
33 abstract class Link implements C\Link\Link
83 $clone->action_content_language = $language;
95 if (!in_array($type, $clone->relationships)) {
96 $clone->relationships[] = $type;
109 !in_array(
C\
Link\Relationship::NOOPENER, $relationships)
111 $relationships[] = C\Link\Relationship::NOOPENER;
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
LanguageTag $action_content_language
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
withAdditionalRelationshipToReferencedResource(C\Link\Relationship $type)
bool $open_in_new_viewport
withOpenInNewViewport(bool $open_in_new_viewport)
getRelationshipsToReferencedResource()
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
trait JavaScriptBindable
Trait for components implementing JavaScriptBindable providing standard implementation.
getLanguageOfReferencedResource()
withLanguageOfReferencedContent(LanguageTag $language)
This class represents a valid language tag that should be used instead of plain strings.
__construct(string $action)
This implements commonalities between Links.
Relationship
Note that not all valid values of the rel-attribute of anchor tags are included here (see https://htm...