ILIAS  trunk Revision v12.0_alpha-1221-g4e438232683
class.ilPDSelectedItemBlockMembershipsDTO.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
22{
23 public function __construct(
24 protected readonly int $ref_id,
25 protected readonly int $obj_id,
26 protected readonly string $type,
27 protected readonly string $title,
28 protected readonly string $description,
29 protected readonly int $parent_ref_id,
30 protected readonly int $parent_lft_tree,
31 protected readonly bool $object_period_has_time,
32 protected readonly ?DateTimeImmutable $period_start,
33 protected readonly ?DateTimeImmutable $period_end
34 ) {
35 }
36
37 final public function getRefId(): int
38 {
39 return $this->ref_id;
40 }
41
42 final public function getObjId(): int
43 {
44 return $this->obj_id;
45 }
46
47 final public function getType(): string
48 {
49 return $this->type;
50 }
51
52 final public function getTitle(): string
53 {
54 return $this->title;
55 }
56
57 final public function getDescription(): string
58 {
59 return $this->description;
60 }
61
62 final public function getParentRefId(): int
63 {
64 return $this->parent_ref_id;
65 }
66
67 final public function getParentLftTree(): int
68 {
69 return $this->parent_lft_tree;
70 }
71
72 final public function objectPeriodHasTime(): bool
73 {
74 return $this->object_period_has_time;
75 }
76
77 final public function getPeriodStart(): ?DateTimeImmutable
78 {
79 return $this->period_start;
80 }
81
82 final public function getPeriodEnd(): ?DateTimeImmutable
83 {
84 return $this->period_end;
85 }
86}
__construct(protected readonly int $ref_id, protected readonly int $obj_id, protected readonly string $type, protected readonly string $title, protected readonly string $description, protected readonly int $parent_ref_id, protected readonly int $parent_lft_tree, protected readonly bool $object_period_has_time, protected readonly ?DateTimeImmutable $period_start, protected readonly ?DateTimeImmutable $period_end)
$ref_id
Definition: ltiauth.php:66