ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
class.ilTestParticipant.php
Go to the documentation of this file.
1<?php
2
3/* Copyright (c) 1998-2013 ILIAS open source, Extended GPL, see docs/LICENSE */
4
14{
18 protected $activeId;
19
23 protected $anonymousId;
24
28 protected $usrId;
29
33 protected $login;
34
38 protected $lastname;
39
43 protected $firstname;
44
48 protected $matriculation;
49
53 protected $activeStatus;
54
58 protected $clientIp;
59
63 protected $finishedTries;
64
68 protected $testFinished;
69
74
78 protected $scoring;
79
94 public function __construct()
95 {
96 $this->activeId = null;
97 $this->anonymousId = null;
98 $this->usrId = null;
99 $this->login = null;
100 $this->lastname = null;
101 $this->firstname = null;
102 $this->matriculation = null;
103 $this->activeStatus = null;
104 $this->clientIp = null;
105 $this->finishedTries = null;
106 $this->testFinished = null;
107 $this->unfinishedPasses = null;
108 }
109
113 public function getActiveId()
114 {
115 return $this->activeId;
116 }
117
121 public function setActiveId($activeId)
122 {
123 $this->activeId = $activeId;
124 }
125
129 public function getAnonymousId()
130 {
131 return $this->anonymousId;
132 }
133
138 {
139 $this->anonymousId = $anonymousId;
140 }
141
145 public function getUsrId()
146 {
147 return $this->usrId;
148 }
149
153 public function setUsrId($usrId)
154 {
155 $this->usrId = $usrId;
156 }
157
161 public function getLogin()
162 {
163 return $this->login;
164 }
165
169 public function setLogin($login)
170 {
171 $this->login = $login;
172 }
173
177 public function getLastname()
178 {
179 return $this->lastname;
180 }
181
185 public function setLastname($lastname)
186 {
187 $this->lastname = $lastname;
188 }
189
193 public function getFirstname()
194 {
195 return $this->firstname;
196 }
197
201 public function setFirstname($firstname)
202 {
203 $this->firstname = $firstname;
204 }
205
209 public function getMatriculation()
210 {
212 }
213
218 {
219 $this->matriculation = $matriculation;
220 }
221
225 public function isActiveStatus()
226 {
227 return $this->activeStatus;
228 }
229
234 {
235 $this->activeStatus = $activeStatus;
236 }
237
241 public function getClientIp()
242 {
243 return $this->clientIp;
244 }
245
249 public function setClientIp($clientIp)
250 {
251 $this->clientIp = $clientIp;
252 }
253
257 public function getFinishedTries()
258 {
260 }
261
266 {
267 $this->finishedTries = $finishedTries;
268 }
269
273 public function isTestFinished()
274 {
275 return $this->testFinished;
276 }
277
282 {
283 $this->testFinished = $testFinished;
284 }
285
289 public function hasUnfinishedPasses()
290 {
292 }
293
298 {
299 $this->unfinishedPasses = $unfinishedPasses;
300 }
301
306 {
307 return $this->scoring;
308 }
309
314 {
315 $this->scoring = $scoring;
316 }
317
318 public function hasScoring()
319 {
320 return $this->scoring instanceof ilTestParticipantScoring;
321 }
322}
An exception for terminatinating execution or to throw for unit testing.
setScoring(ilTestParticipantScoring $scoring)
setMatriculation($matriculation)
setFinishedTries($finishedTries)
__construct()
ilTestParticipant constructor.
setUnfinishedPasses($unfinishedPasses)