ILIAS  release_8 Revision v8.24
class.ilTestParticipant.php
Go to the documentation of this file.
1<?php
2
28{
32 protected $activeId;
33
37 protected $anonymousId;
38
42 protected $usrId;
43
47 protected $login;
48
52 protected $lastname;
53
57 protected $firstname;
58
62 protected $matriculation;
63
67 protected $activeStatus;
68
72 protected $clientIp;
73
77 protected $finishedTries;
78
82 protected $testFinished;
83
88
92 protected $scoring;
93
108 public function __construct()
109 {
110 $this->activeId = null;
111 $this->anonymousId = null;
112 $this->usrId = null;
113 $this->login = null;
114 $this->lastname = null;
115 $this->firstname = null;
116 $this->matriculation = null;
117 $this->activeStatus = null;
118 $this->clientIp = null;
119 $this->finishedTries = null;
120 $this->testFinished = null;
121 $this->unfinishedPasses = null;
122 }
123
127 public function getActiveId(): ?string
128 {
129 return $this->activeId;
130 }
131
135 public function setActiveId($activeId)
136 {
137 $this->activeId = $activeId;
138 }
139
143 public function getAnonymousId(): ?string
144 {
145 return $this->anonymousId;
146 }
147
152 {
153 $this->anonymousId = $anonymousId;
154 }
155
159 public function getUsrId(): ?string
160 {
161 return $this->usrId;
162 }
163
167 public function setUsrId($usrId)
168 {
169 $this->usrId = $usrId;
170 }
171
175 public function getLogin(): ?string
176 {
177 return $this->login;
178 }
179
183 public function setLogin($login)
184 {
185 $this->login = $login;
186 }
187
191 public function getLastname(): ?string
192 {
193 return $this->lastname;
194 }
195
199 public function setLastname($lastname)
200 {
201 $this->lastname = $lastname;
202 }
203
207 public function getFirstname(): ?string
208 {
209 return $this->firstname;
210 }
211
215 public function setFirstname($firstname)
216 {
217 $this->firstname = $firstname;
218 }
219
223 public function getMatriculation(): ?string
224 {
226 }
227
232 {
233 $this->matriculation = $matriculation;
234 }
235
239 public function isActiveStatus(): ?bool
240 {
241 return $this->activeStatus;
242 }
243
248 {
249 $this->activeStatus = $activeStatus;
250 }
251
255 public function getClientIp(): ?string
256 {
257 return $this->clientIp;
258 }
259
263 public function setClientIp($clientIp)
264 {
265 $this->clientIp = $clientIp;
266 }
267
271 public function getFinishedTries(): ?int
272 {
274 }
275
280 {
281 $this->finishedTries = $finishedTries;
282 }
283
287 public function isTestFinished(): ?bool
288 {
289 return $this->testFinished;
290 }
291
296 {
297 $this->testFinished = $testFinished;
298 }
299
303 public function hasUnfinishedPasses(): ?bool
304 {
306 }
307
312 {
313 $this->unfinishedPasses = $unfinishedPasses;
314 }
315
320 {
321 return $this->scoring;
322 }
323
328 {
329 $this->scoring = $scoring;
330 }
331
332 public function hasScoring(): bool
333 {
334 return $this->scoring instanceof ilTestParticipantScoring;
335 }
336}
setScoring(ilTestParticipantScoring $scoring)
setMatriculation($matriculation)
setFinishedTries($finishedTries)
__construct()
ilTestParticipant constructor.
setUnfinishedPasses($unfinishedPasses)