ILIAS  release_7 Revision v7.30-3-g800a261c036
class.ilPDSelectedItemBlockMembershipsDTO.php
Go to the documentation of this file.
1<?php declare(strict_types=1);
2
20{
21 private $refId;
22 private $objId;
23 private $type;
24 private $title;
25 private $description;
26 private $parentRefId;
29 private $periodStart;
30 private $periodEnd;
31
32 public function __construct(
33 int $refId,
34 int $objId,
35 string $type,
36 string $title,
37 string $description,
38 int $parentRefId,
41 ?DateTimeImmutable $periodStart,
42 ?DateTimeImmutable $periodEnd
43 ) {
44 $this->refId = $refId;
45 $this->objId = $objId;
46 $this->type = $type;
47 $this->title = $title;
48 $this->description = $description;
49 $this->parentRefId = $parentRefId;
50 $this->parentLftTree = $parentLftTree;
52 $this->periodStart = $periodStart;
53 $this->periodEnd = $periodEnd;
54 }
55
56 public function getRefId() : int
57 {
58 return $this->refId;
59 }
60
61 public function getObjId() : int
62 {
63 return $this->objId;
64 }
65
66 public function getType() : string
67 {
68 return $this->type;
69 }
70
71 public function getTitle() : string
72 {
73 return $this->title;
74 }
75
76 public function getDescription() : string
77 {
78 return $this->description;
79 }
80
81 public function getParentRefId() : int
82 {
83 return $this->parentRefId;
84 }
85
86 public function getParentLftTree() : int
87 {
89 }
90
91 public function objectPeriodHasTime() : bool
92 {
94 }
95
96 public function getPeriodStart() : ?DateTimeImmutable
97 {
98 return $this->periodStart;
99 }
100
101 public function getPeriodEnd() : ?DateTimeImmutable
102 {
103 return $this->periodEnd;
104 }
105}
An exception for terminatinating execution or to throw for unit testing.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
__construct(int $refId, int $objId, string $type, string $title, string $description, int $parentRefId, int $parentLftTree, bool $objectPeriodHasTime, ?DateTimeImmutable $periodStart, ?DateTimeImmutable $periodEnd)