ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
class.ilTestParticipant.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
22{
23 protected ?int $active_id = null;
24 protected ?int $anonymous_id = null;
25 protected ?int $usr_id = null;
26 protected ?string $login = null;
27 protected ?string $lastname = null;
28 protected ?string $firstname = null;
29 protected ?string $matriculation = null;
30 protected ?bool $active_status = null;
31 protected ?string $client_id = null;
32 protected ?int $finished_tries = null;
33 protected ?bool $test_finished = null;
34 protected ?bool $unfinished_passes = null;
36
37 public function getActiveId(): ?int
38 {
39 return $this->active_id;
40 }
41
42 public function setActiveId(int $active_id): void
43 {
44 $this->active_id = $active_id;
45 }
46
47 public function getAnonymousId(): ?int
48 {
50 }
51
52 public function setAnonymousId(int $anonymous_id): void
53 {
54 $this->anonymous_id = $anonymous_id;
55 }
56
57 public function getUsrId(): ?int
58 {
59 return $this->usr_id;
60 }
61
62 public function setUsrId(int $usr_id): void
63 {
64 $this->usr_id = $usr_id;
65 }
66
67 public function getLogin(): ?string
68 {
69 return $this->login;
70 }
71
72 public function setLogin(string $login): void
73 {
74 $this->login = $login;
75 }
76
77 public function getLastname(): ?string
78 {
79 return $this->lastname;
80 }
81
82 public function setLastname(string $lastname): void
83 {
84 $this->lastname = $lastname;
85 }
86
87 public function getFirstname(): ?string
88 {
89 return $this->firstname;
90 }
91
92 public function setFirstname(string $firstname): void
93 {
94 $this->firstname = $firstname;
95 }
96
97 public function getMatriculation(): ?string
98 {
100 }
101
102 public function setMatriculation(string $matriculation): void
103 {
104 $this->matriculation = $matriculation;
105 }
106
107 public function isActiveStatus(): ?bool
108 {
110 }
111
112 public function setActiveStatus(bool $active_status): void
113 {
114 $this->active_status = $active_status;
115 }
116
117 public function getFinishedTries(): ?int
118 {
120 }
121
122 public function setFinishedTries(int $finished_tries): void
123 {
124 $this->finished_tries = $finished_tries;
125 }
126
127 public function isTestFinished(): ?bool
128 {
130 }
131
132 public function setTestFinished(bool $test_finished): void
133 {
134 $this->test_finished = $test_finished;
135 }
136
137 public function hasUnfinishedPasses(): ?bool
138 {
140 }
141
142 public function setUnfinishedPasses(bool $unfinished_passes): void
143 {
144 $this->unfinished_passes = $unfinished_passes;
145 }
146
148 {
149 return $this->scoring;
150 }
151
153 {
154 $this->scoring = $scoring;
155 }
156
157 public function hasScoring(): bool
158 {
159 return $this->scoring instanceof ilTestParticipantScoring;
160 }
161}
setScoring(ilTestParticipantScoring $scoring)
setTestFinished(bool $test_finished)
setFinishedTries(int $finished_tries)
setLastname(string $lastname)
setAnonymousId(int $anonymous_id)
setActiveStatus(bool $active_status)
setMatriculation(string $matriculation)
setFirstname(string $firstname)
ilTestParticipantScoring $scoring
setUnfinishedPasses(bool $unfinished_passes)