ILIAS  release_8 Revision v8.24
ilTestParticipant Class Reference
+ Collaboration diagram for ilTestParticipant:

Public Member Functions

 __construct ()
 ilTestParticipant constructor. More...
 
 getActiveId ()
 
 setActiveId ($activeId)
 
 getAnonymousId ()
 
 setAnonymousId ($anonymousId)
 
 getUsrId ()
 
 setUsrId ($usrId)
 
 getLogin ()
 
 setLogin ($login)
 
 getLastname ()
 
 setLastname ($lastname)
 
 getFirstname ()
 
 setFirstname ($firstname)
 
 getMatriculation ()
 
 setMatriculation ($matriculation)
 
 isActiveStatus ()
 
 setActiveStatus ($activeStatus)
 
 getClientIp ()
 
 setClientIp ($clientIp)
 
 getFinishedTries ()
 
 setFinishedTries ($finishedTries)
 
 isTestFinished ()
 
 setTestFinished ($testFinished)
 
 hasUnfinishedPasses ()
 
 setUnfinishedPasses ($unfinishedPasses)
 
 getScoring ()
 
 setScoring (ilTestParticipantScoring $scoring)
 
 hasScoring ()
 

Protected Attributes

 $activeId
 
 $anonymousId
 
 $usrId
 
 $login
 
 $lastname
 
 $firstname
 
 $matriculation
 
 $activeStatus
 
 $clientIp
 
 $finishedTries
 
 $testFinished
 
 $unfinishedPasses
 
 $scoring
 

Detailed Description

Definition at line 27 of file class.ilTestParticipant.php.

Constructor & Destructor Documentation

◆ __construct()

ilTestParticipant::__construct ( )

ilTestParticipant constructor.

Parameters
string$activeId
string$anonymousId
string$usrId
string$login
string$lastname
string$firstname
string$matriculation
string$clientIp
int$finishedTries
bool$testFinished
bool$unfinishedPasses

Definition at line 108 of file class.ilTestParticipant.php.

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 }

References ILIAS\UI\examples\Symbol\Glyph\Login\login().

+ Here is the call graph for this function:

Member Function Documentation

◆ getActiveId()

ilTestParticipant::getActiveId ( )
Returns
string

Definition at line 127 of file class.ilTestParticipant.php.

127 : ?string
128 {
129 return $this->activeId;
130 }

References $activeId.

Referenced by ilTestParticipantList\buildFullname(), and ilTestParticipantList\buildParticipantsFullname().

+ Here is the caller graph for this function:

◆ getAnonymousId()

ilTestParticipant::getAnonymousId ( )
Returns
string

Definition at line 143 of file class.ilTestParticipant.php.

143 : ?string
144 {
145 return $this->anonymousId;
146 }

References $anonymousId.

◆ getClientIp()

ilTestParticipant::getClientIp ( )
Returns
string

Definition at line 255 of file class.ilTestParticipant.php.

255 : ?string
256 {
257 return $this->clientIp;
258 }

References $clientIp.

◆ getFinishedTries()

ilTestParticipant::getFinishedTries ( )
Returns
int

Definition at line 271 of file class.ilTestParticipant.php.

271 : ?int
272 {
274 }

References $finishedTries.

◆ getFirstname()

ilTestParticipant::getFirstname ( )
Returns
string

Definition at line 207 of file class.ilTestParticipant.php.

207 : ?string
208 {
209 return $this->firstname;
210 }

References $firstname.

Referenced by ilTestParticipantList\buildInviteeFullname().

+ Here is the caller graph for this function:

◆ getLastname()

ilTestParticipant::getLastname ( )
Returns
string

Definition at line 191 of file class.ilTestParticipant.php.

191 : ?string
192 {
193 return $this->lastname;
194 }

References $lastname.

Referenced by ilTestParticipantList\buildInviteeFullname().

+ Here is the caller graph for this function:

◆ getLogin()

ilTestParticipant::getLogin ( )
Returns
string

Definition at line 175 of file class.ilTestParticipant.php.

175 : ?string
176 {
177 return $this->login;
178 }

References $login.

◆ getMatriculation()

ilTestParticipant::getMatriculation ( )
Returns
string

Definition at line 223 of file class.ilTestParticipant.php.

223 : ?string
224 {
226 }

References $matriculation.

◆ getScoring()

ilTestParticipant::getScoring ( )

◆ getUsrId()

ilTestParticipant::getUsrId ( )
Returns
string

Definition at line 159 of file class.ilTestParticipant.php.

159 : ?string
160 {
161 return $this->usrId;
162 }

References $usrId.

◆ hasScoring()

ilTestParticipant::hasScoring ( )

Definition at line 332 of file class.ilTestParticipant.php.

332 : bool
333 {
334 return $this->scoring instanceof ilTestParticipantScoring;
335 }

◆ hasUnfinishedPasses()

ilTestParticipant::hasUnfinishedPasses ( )
Returns
bool

Definition at line 303 of file class.ilTestParticipant.php.

303 : ?bool
304 {
306 }

References $unfinishedPasses.

◆ isActiveStatus()

ilTestParticipant::isActiveStatus ( )
Returns
bool

Definition at line 239 of file class.ilTestParticipant.php.

239 : ?bool
240 {
241 return $this->activeStatus;
242 }

References $activeStatus.

◆ isTestFinished()

ilTestParticipant::isTestFinished ( )
Returns
bool

Definition at line 287 of file class.ilTestParticipant.php.

287 : ?bool
288 {
289 return $this->testFinished;
290 }

References $testFinished.

◆ setActiveId()

ilTestParticipant::setActiveId (   $activeId)
Parameters
string$activeId

Definition at line 135 of file class.ilTestParticipant.php.

136 {
137 $this->activeId = $activeId;
138 }

References $activeId.

◆ setActiveStatus()

ilTestParticipant::setActiveStatus (   $activeStatus)
Parameters
bool$activeStatus

Definition at line 247 of file class.ilTestParticipant.php.

248 {
249 $this->activeStatus = $activeStatus;
250 }

References $activeStatus.

◆ setAnonymousId()

ilTestParticipant::setAnonymousId (   $anonymousId)
Parameters
string$anonymousId

Definition at line 151 of file class.ilTestParticipant.php.

152 {
153 $this->anonymousId = $anonymousId;
154 }

References $anonymousId.

◆ setClientIp()

ilTestParticipant::setClientIp (   $clientIp)
Parameters
string$clientIp

Definition at line 263 of file class.ilTestParticipant.php.

264 {
265 $this->clientIp = $clientIp;
266 }

References $clientIp.

◆ setFinishedTries()

ilTestParticipant::setFinishedTries (   $finishedTries)
Parameters
int$finishedTries

Definition at line 279 of file class.ilTestParticipant.php.

280 {
281 $this->finishedTries = $finishedTries;
282 }

References $finishedTries.

◆ setFirstname()

ilTestParticipant::setFirstname (   $firstname)
Parameters
string$firstname

Definition at line 215 of file class.ilTestParticipant.php.

216 {
217 $this->firstname = $firstname;
218 }

References $firstname.

◆ setLastname()

ilTestParticipant::setLastname (   $lastname)
Parameters
string$lastname

Definition at line 199 of file class.ilTestParticipant.php.

200 {
201 $this->lastname = $lastname;
202 }

References $lastname.

◆ setLogin()

ilTestParticipant::setLogin (   $login)
Parameters
string$login

Definition at line 183 of file class.ilTestParticipant.php.

184 {
185 $this->login = $login;
186 }

References $login, and ILIAS\UI\examples\Symbol\Glyph\Login\login().

+ Here is the call graph for this function:

◆ setMatriculation()

ilTestParticipant::setMatriculation (   $matriculation)
Parameters
string$matriculation

Definition at line 231 of file class.ilTestParticipant.php.

232 {
233 $this->matriculation = $matriculation;
234 }

References $matriculation.

◆ setScoring()

ilTestParticipant::setScoring ( ilTestParticipantScoring  $scoring)
Parameters
ilTestParticipantScoring$scoring

Definition at line 327 of file class.ilTestParticipant.php.

328 {
329 $this->scoring = $scoring;
330 }

References $scoring.

◆ setTestFinished()

ilTestParticipant::setTestFinished (   $testFinished)
Parameters
bool$testFinished

Definition at line 295 of file class.ilTestParticipant.php.

296 {
297 $this->testFinished = $testFinished;
298 }

References $testFinished.

◆ setUnfinishedPasses()

ilTestParticipant::setUnfinishedPasses (   $unfinishedPasses)
Parameters
bool$unfinishedPasses

Definition at line 311 of file class.ilTestParticipant.php.

312 {
313 $this->unfinishedPasses = $unfinishedPasses;
314 }

References $unfinishedPasses.

◆ setUsrId()

ilTestParticipant::setUsrId (   $usrId)
Parameters
string$usrId

Definition at line 167 of file class.ilTestParticipant.php.

168 {
169 $this->usrId = $usrId;
170 }

References $usrId.

Field Documentation

◆ $activeId

ilTestParticipant::$activeId
protected

Definition at line 32 of file class.ilTestParticipant.php.

Referenced by getActiveId(), and setActiveId().

◆ $activeStatus

ilTestParticipant::$activeStatus
protected

Definition at line 67 of file class.ilTestParticipant.php.

Referenced by isActiveStatus(), and setActiveStatus().

◆ $anonymousId

ilTestParticipant::$anonymousId
protected

Definition at line 37 of file class.ilTestParticipant.php.

Referenced by getAnonymousId(), and setAnonymousId().

◆ $clientIp

ilTestParticipant::$clientIp
protected

Definition at line 72 of file class.ilTestParticipant.php.

Referenced by getClientIp(), and setClientIp().

◆ $finishedTries

ilTestParticipant::$finishedTries
protected

Definition at line 77 of file class.ilTestParticipant.php.

Referenced by getFinishedTries(), and setFinishedTries().

◆ $firstname

ilTestParticipant::$firstname
protected

Definition at line 57 of file class.ilTestParticipant.php.

Referenced by getFirstname(), and setFirstname().

◆ $lastname

ilTestParticipant::$lastname
protected

Definition at line 52 of file class.ilTestParticipant.php.

Referenced by getLastname(), and setLastname().

◆ $login

ilTestParticipant::$login
protected

Definition at line 47 of file class.ilTestParticipant.php.

Referenced by getLogin(), and setLogin().

◆ $matriculation

ilTestParticipant::$matriculation
protected

Definition at line 62 of file class.ilTestParticipant.php.

Referenced by getMatriculation(), and setMatriculation().

◆ $scoring

ilTestParticipant::$scoring
protected

Definition at line 92 of file class.ilTestParticipant.php.

Referenced by getScoring(), and setScoring().

◆ $testFinished

ilTestParticipant::$testFinished
protected

Definition at line 82 of file class.ilTestParticipant.php.

Referenced by isTestFinished(), and setTestFinished().

◆ $unfinishedPasses

ilTestParticipant::$unfinishedPasses
protected

Definition at line 87 of file class.ilTestParticipant.php.

Referenced by hasUnfinishedPasses(), and setUnfinishedPasses().

◆ $usrId

ilTestParticipant::$usrId
protected

Definition at line 42 of file class.ilTestParticipant.php.

Referenced by getUsrId(), and setUsrId().


The documentation for this class was generated from the following file: