ILIAS  release_8 Revision v8.19
All Data Structures Namespaces Files Functions Variables Modules Pages
class.ilPDSelectedItemBlockMembershipsDTO.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
22 {
23  private int $refId;
24  private int $objId;
25  private string $type;
26  private string $title;
27  private string $description;
28  private int $parentRefId;
29  private int $parentLftTree;
30  private bool $objectPeriodHasTime;
33 
34  public function __construct(
35  int $refId,
36  int $objId,
37  string $type,
38  string $title,
39  string $description,
40  int $parentRefId,
41  int $parentLftTree,
42  bool $objectPeriodHasTime,
43  ?DateTimeImmutable $periodStart,
44  ?DateTimeImmutable $periodEnd
45  ) {
46  $this->refId = $refId;
47  $this->objId = $objId;
48  $this->type = $type;
49  $this->title = $title;
50  $this->description = $description;
51  $this->parentRefId = $parentRefId;
52  $this->parentLftTree = $parentLftTree;
54  $this->periodStart = $periodStart;
55  $this->periodEnd = $periodEnd;
56  }
57 
58  public function getRefId(): int
59  {
60  return $this->refId;
61  }
62 
63  public function getObjId(): int
64  {
65  return $this->objId;
66  }
67 
68  public function getType(): string
69  {
70  return $this->type;
71  }
72 
73  public function getTitle(): string
74  {
75  return $this->title;
76  }
77 
78  public function getDescription(): string
79  {
80  return $this->description;
81  }
82 
83  public function getParentRefId(): int
84  {
85  return $this->parentRefId;
86  }
87 
88  public function getParentLftTree(): int
89  {
90  return $this->parentLftTree;
91  }
92 
93  public function objectPeriodHasTime(): bool
94  {
96  }
97 
98  public function getPeriodStart(): ?DateTimeImmutable
99  {
100  return $this->periodStart;
101  }
102 
103  public function getPeriodEnd(): ?DateTimeImmutable
104  {
105  return $this->periodEnd;
106  }
107 }
__construct(int $refId, int $objId, string $type, string $title, string $description, int $parentRefId, int $parentLftTree, bool $objectPeriodHasTime, ?DateTimeImmutable $periodStart, ?DateTimeImmutable $periodEnd)