5 include_once(
'./Services/Table/classes/class.ilTable2GUI.php');
40 $this->
setStyle(
'table',
'fullwidth');
44 $this->
setFormAction($ilCtrl->getFormAction($parentObj, self::PARENT_DEFAULT_CMD));
46 $this->
setRowTemplate(
"tpl.il_as_tst_man_scoring_participant_tblrow.html",
"Modules/Test");
58 if( $this->parent_obj->object->getAnonymity() )
60 $this->
addColumn($lng->txt(
"name"),
'lastname',
'100%');
64 $this->
addColumn($lng->txt(
"lastname"),
'lastname',
'');
65 $this->
addColumn($lng->txt(
"firstname"),
'firstname',
'');
66 $this->
addColumn($lng->txt(
"login"),
'login',
'');
86 include_once
'Services/Form/classes/class.ilSelectInputGUI.php';
87 $participantStatus =
new ilSelectInputGUI($lng->txt(
'tst_participant_status'),
'participant_status');
89 $statusOptions = array();
97 $participantStatus->
setOptions($statusOptions);
101 $participantStatus->readFromSession();
103 if(!$participantStatus->getValue())
121 $ilCtrl->setParameter($this->parent_obj,
'active_id',
$row[
'active_id']);
123 if( !$this->parent_obj->object->getAnonymity() )
125 $this->tpl->setCurrentBlock(
'personal');
126 $this->tpl->setVariable(
"PARTICIPANT_FIRSTNAME",
$row[
'firstname']);
127 $this->tpl->setVariable(
"PARTICIPANT_LOGIN",
$row[
'login']);
128 $this->tpl->parseCurrentBlock();
131 $this->tpl->setVariable(
"PARTICIPANT_LASTNAME",
$row[
'lastname']);
133 $this->tpl->setVariable(
"HREF_SCORE_PARTICIPANT", $ilCtrl->getLinkTarget($this->parent_obj, self::PARENT_EDIT_SCORING_CMD));
134 $this->tpl->setVariable(
"TXT_SCORE_PARTICIPANT", $lng->txt(
'tst_edit_scoring'));