ILIAS  release_8 Revision v8.25-1-g13de6a5eca6
Link.php
Go to the documentation of this file.
1<?php
2
3declare(strict_types=1);
4
22
24use ILIAS\UI\Implementation\Component\ComponentHelper;
25
29abstract class Link implements C\Link\Link
30{
31 use ComponentHelper;
32
33 protected string $action;
34 protected ?bool $open_in_new_viewport = null;
35
36 public function __construct(string $action)
37 {
38 $this->action = $action;
39 }
40
44 public function getAction(): string
45 {
46 return $this->action;
47 }
48
53 {
54 $clone = clone $this;
55 $clone->open_in_new_viewport = $open_in_new_viewport;
56 return $clone;
57 }
58
62 public function getOpenInNewViewport(): ?bool
63 {
65 }
66}
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...