ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
Link.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
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
58
64
68 public function getRelationshipsToReferencedResource(): array;
69
73 public function withDisabled(bool $disabled = true): static;
74}
This class represents a valid language tag that should be used instead of plain strings.
Definition: LanguageTag.php:40
A component is the most general form of an entity in the UI.
Definition: Component.php:28
Interface to be extended by components that have the possibility to bind to Javascript.
trait JavaScriptBindable
Trait for components implementing JavaScriptBindable providing standard implementation.