19declare(strict_types=1);
24use ILIAS\UI\Implementation\Component\ComponentHelper;
84 $clone->action_content_language = $language;
96 if (!in_array($type, $clone->relationships)) {
97 $clone->relationships[] = $type;
119 $clone = clone $this;
This class represents a valid language tag that should be used instead of plain strings.
This implements commonalities between Links.
bool $open_in_new_viewport
withOpenInNewViewport(bool $open_in_new_viewport)
getLanguageOfReferencedResource()
withAdditionalRelationshipToReferencedResource(C\Link\Relationship $type)
withLanguageOfReferencedContent(LanguageTag $language)
LanguageTag $action_content_language
withDisabled(bool $disabled=true)
getRelationshipsToReferencedResource()
__construct(string $action)
Relationship
Note that not all valid values of the rel-attribute of anchor tags are included here (see https://htm...
trait JavaScriptBindable
Trait for components implementing JavaScriptBindable providing standard implementation.