24 include_once(
"./Services/Table/classes/class.ilTable2GUI.php");
50 $this->
setStyle(
'table',
'fullwidth');
51 $this->
addColumn($lng->txt(
"name"),
"name",
"");
52 $this->
addColumn($lng->txt(
"login"),
"login",
"");
56 $this->
addColumn($lng->txt(
"gender"),
"gender",
"");
60 $this->
addColumn($lng->txt(
"email"),
"email",
"");
64 $this->
addColumn($lng->txt(
"institution"),
"institution",
"");
68 $this->
addColumn($lng->txt(
"street"),
"street",
"");
72 $this->
addColumn($lng->txt(
"city"),
"city",
"");
76 $this->
addColumn($lng->txt(
"zipcode"),
"zipcode",
"");
80 $this->
addColumn($lng->txt(
"country"),
"country",
"");
84 $this->
addColumn($lng->txt(
"department"),
"department",
"");
88 $this->
addColumn($lng->txt(
"matriculation"),
"matriculation",
"");
90 $this->
addColumn($lng->txt(
"tst_reached_points"),
"reached",
"");
91 $this->
addColumn($lng->txt(
"tst_mark"),
"tst_mark",
"");
94 $this->
addColumn($lng->txt(
"ects_grade"),
"ects_grade",
"");
96 $this->
addColumn($lng->txt(
"tst_answered_questions"),
"answered",
"");
97 $this->
addColumn($lng->txt(
"working_time"),
"working_time",
"");
98 $this->
addColumn($lng->txt(
"detailed_evaluation"),
"details",
"");
100 $this->
setFormAction($this->ctrl->getFormAction($a_parent_obj, $a_parent_cmd));
101 $this->
setRowTemplate(
"tpl.table_evaluation_all.html",
"Modules/Test");
122 if ($this->anonymity)
145 global
$lng, $rbacreview, $ilUser;
148 include_once(
"./Services/Form/classes/class.ilTextInputGUI.php");
151 $ti->setValidationRegexp(
'/^[^%]+$/is');
154 $ti->readFromSession();
155 $this->filter[
"name"] = $ti->getValue();
161 $ti->setValidationRegexp(
'/^[^%]+$/is');
163 $ti->readFromSession();
164 $this->filter[
"group"] = $ti->getValue();
169 $ti->setValidationRegexp(
'/^[^%]+$/is');
172 $ti->readFromSession();
173 $this->filter[
"course"] = $ti->getValue();
176 include_once(
"./Services/Form/classes/class.ilCheckboxInputGUI.php");
180 $si->readFromSession();
181 $this->filter[
"passedonly"] = $si->getValue();
190 $this->tpl->setVariable(
"NAME",
$data[
'name']);
191 $this->tpl->setVariable(
"LOGIN",
$data[
'login']);
194 $this->tpl->setCurrentBlock(
'gender');
195 $this->tpl->setVariable(
"GENDER", $this->lng->txt(
'gender_' .
$data[
'gender']));
196 $this->tpl->parseCurrentBlock();
200 $this->tpl->setCurrentBlock(
'email');
201 $this->tpl->setVariable(
"EMAIL", strlen(
$data[
'email']) ?
$data[
'email'] :
' ');
202 $this->tpl->parseCurrentBlock();
206 $this->tpl->setCurrentBlock(
'institution');
207 $this->tpl->setVariable(
"INSTITUTION", strlen(
$data[
'institution']) ?
$data[
'institution'] :
' ');
208 $this->tpl->parseCurrentBlock();
212 $this->tpl->setCurrentBlock(
'street');
213 $this->tpl->setVariable(
"STREET", strlen(
$data[
'street']) ?
$data[
'street'] :
' ');
214 $this->tpl->parseCurrentBlock();
218 $this->tpl->setCurrentBlock(
'city');
219 $this->tpl->setVariable(
"CITY", strlen(
$data[
'city']) ?
$data[
'city'] :
' ');
220 $this->tpl->parseCurrentBlock();
224 $this->tpl->setCurrentBlock(
'zipcode');
225 $this->tpl->setVariable(
"ZIPCODE", strlen(
$data[
'zipcode']) ?
$data[
'zipcode'] :
' ');
226 $this->tpl->parseCurrentBlock();
230 $this->tpl->setCurrentBlock(
'country');
231 $this->tpl->setVariable(
"COUNTRY", strlen(
$data[
'country']) ?
$data[
'country'] :
' ');
232 $this->tpl->parseCurrentBlock();
236 $this->tpl->setCurrentBlock(
'department');
237 $this->tpl->setVariable(
"DEPARTMENT", strlen(
$data[
'department']) ?
$data[
'department'] :
' ');
238 $this->tpl->parseCurrentBlock();
242 $this->tpl->setCurrentBlock(
'matriculation');
243 $this->tpl->setVariable(
"MATRICULATION", strlen(
$data[
'matriculation']) ?
$data[
'matriculation'] :
' ');
244 $this->tpl->parseCurrentBlock();
246 $this->tpl->setVariable(
"REACHED",
$data[
'reached'] .
" " . strtolower($this->lng->txt(
"of")) .
" " .
$data[
'max']);
247 $this->tpl->setVariable(
"MARK",
$data[
'mark']);
250 $this->tpl->setCurrentBlock(
'ects_grade');
251 $this->tpl->setVariable(
"ECTS_GRADE",
$data[
'ects_grade']);
252 $this->tpl->parseCurrentBlock();
254 $this->tpl->setVariable(
"ANSWERED",
$data[
'answered']);
255 $this->tpl->setVariable(
"WORKING_TIME",
$data[
'working_time']);
256 $this->tpl->setVariable(
"DETAILED",
$data[
'details']);
261 return in_array(
$name, $this->specialcolumns);
266 $this->specialcolumns = $arr;