ILIAS  trunk Revision v12.0_alpha-33-ge186251a14d
PropertiesImpl.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
22
25
26class PropertiesImpl implements Properties
27{
28 public function __construct(
29 protected ID $id,
30 protected string $title,
31 protected ?URI $link,
32 protected bool $open_link_in_new_viewport,
33 protected string $presentable_subitem_type
34 ) {
35 }
36
37 public function id(): ID
38 {
39 return $this->id;
40 }
41
42 public function title(): string
43 {
44 return $this->title;
45 }
46
47 public function link(): ?URI
48 {
49 return $this->link;
50 }
51
52 public function openLinkInNewViewport(): bool
53 {
54 return $this->open_link_in_new_viewport;
55 }
56
57 public function presentableSubitemType(): string
58 {
59 return $this->presentable_subitem_type;
60 }
61}
$id
plugin.php for ilComponentBuildPluginInfoObjectiveTest::testAddPlugins
Definition: plugin.php:23
The scope of this class is split ilias-conform URI's into components.
Definition: URI.php:35
__construct(protected ID $id, protected string $title, protected ?URI $link, protected bool $open_link_in_new_viewport, protected string $presentable_subitem_type)