ILIAS  release_8 Revision v8.19
All Data Structures Namespaces Files Functions Variables Modules Pages
EmployeeTalk.php
Go to the documentation of this file.
1 <?php
2 
3 declare(strict_types=1);
4 
22 
23 use ilDateTime;
24 
25 final class EmployeeTalk
26 {
27  private int $objectId;
30  private bool $allDay;
31  private string $seriesId;
32  private string $location;
33  private int $employee;
34  private bool $completed;
35  private bool $standalone;
36  private int $template_id;
37 
38  public function __construct(
39  int $objectId,
40  ilDateTime $startDate,
41  ilDateTime $endDate,
42  bool $allDay,
43  string $seriesId,
44  string $location,
45  int $employee,
46  bool $completed,
47  bool $standalone,
48  int $template_id
49  ) {
50  $this->objectId = $objectId;
51  $this->startDate = $startDate;
52  $this->endDate = $endDate;
53  $this->allDay = $allDay;
54  $this->seriesId = $seriesId;
55  $this->location = $location;
56  $this->employee = $employee;
57  $this->completed = $completed;
58  $this->standalone = $standalone;
59  $this->template_id = $template_id;
60  }
61 
65  public function getObjectId(): int
66  {
67  return $this->objectId;
68  }
69 
74  public function setObjectId(int $objectId): EmployeeTalk
75  {
76  $this->objectId = $objectId;
77  return $this;
78  }
79 
83  public function getStartDate(): ilDateTime
84  {
85  return $this->startDate;
86  }
87 
92  public function setStartDate(ilDateTime $startDate): EmployeeTalk
93  {
94  $this->startDate = $startDate;
95  return $this;
96  }
97 
101  public function getEndDate(): ilDateTime
102  {
103  return $this->endDate;
104  }
105 
110  public function setEndDate(ilDateTime $endDate): EmployeeTalk
111  {
112  $this->endDate = $endDate;
113  return $this;
114  }
115 
119  public function isAllDay(): bool
120  {
121  return $this->allDay;
122  }
123 
128  public function setAllDay(bool $allDay): EmployeeTalk
129  {
130  $this->allDay = $allDay;
131  return $this;
132  }
133 
137  public function getSeriesId(): string
138  {
139  return $this->seriesId;
140  }
141 
146  public function setSeriesId(string $seriesId): EmployeeTalk
147  {
148  $this->seriesId = $seriesId;
149  return $this;
150  }
151 
155  public function getLocation(): string
156  {
157  return $this->location;
158  }
159 
164  public function setLocation(string $location): EmployeeTalk
165  {
166  $this->location = $location;
167  return $this;
168  }
169 
173  public function getEmployee(): int
174  {
175  return $this->employee;
176  }
177 
182  public function setEmployee(int $employee): EmployeeTalk
183  {
184  $this->employee = $employee;
185  return $this;
186  }
187 
191  public function isCompleted(): bool
192  {
193  return $this->completed;
194  }
195 
200  public function setCompleted(bool $completed): EmployeeTalk
201  {
202  $this->completed = $completed;
203  return $this;
204  }
205 
209  public function isStandalone(): bool
210  {
211  return $this->standalone;
212  }
213 
218  public function setStandalone(bool $standalone): EmployeeTalk
219  {
220  $this->standalone = $standalone;
221  return $this;
222  }
223 
224  public function getTemplateId(): int
225  {
226  return $this->template_id;
227  }
228 
229  public function setTemplateId(int $template_id): EmployeeTalk
230  {
231  $this->template_id = $template_id;
232  return $this;
233  }
234 }
__construct(int $objectId, ilDateTime $startDate, ilDateTime $endDate, bool $allDay, string $seriesId, string $location, int $employee, bool $completed, bool $standalone, int $template_id)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...