ILIAS  trunk Revision v11.0_alpha-1749-g1a06bdef097
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
Link.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
21 namespace ILIAS\UI\Component\Link;
22 
28 
33 {
37  public function getAction(): string;
38 
42  public function withOpenInNewViewport(bool $open_in_new_viewport): static;
43 
44  public function getOpenInNewViewport(): ?bool;
45 
52  public function withLanguageOfReferencedContent(LanguageTag $language): static;
53 
57  public function getLanguageOfReferencedResource(): ?LanguageTag;
58 
63  public function withAdditionalRelationshipToReferencedResource(Relationship $type): static;
64 
68  public function getRelationshipsToReferencedResource(): array;
69 
73  public function withDisabled(bool $disabled = true): static;
74 }
trait JavaScriptBindable
Trait for components implementing JavaScriptBindable providing standard implementation.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This class represents a valid language tag that should be used instead of plain strings.
Definition: LanguageTag.php:39