19 declare(strict_types=1);
42 $this->
setId(
'manScorePartTable');
50 $this->
setStyle(
'table',
'fullwidth');
54 $this->
setFormAction($this->
ctrl->getFormAction($parent_obj, self::PARENT_DEFAULT_CMD));
56 $this->
setRowTemplate(
"tpl.il_as_tst_man_scoring_participant_tblrow.html",
"components/ILIAS/Test");
66 if ($this->parent_obj->getObject()->getAnonymity()) {
67 $this->
addColumn($this->
lng->txt(
"name"),
'lastname',
'100%');
69 $this->
addColumn($this->
lng->txt(
"lastname"),
'lastname',
'');
70 $this->
addColumn($this->
lng->txt(
"firstname"),
'firstname',
'');
89 $participantStatus = new \ilSelectInputGUI($this->
lng->txt(
'tst_participant_status'),
'participant_status');
96 $participantStatus->setOptions($statusOptions);
100 $participantStatus->readFromSession();
102 if (!$participantStatus->getValue()) {
109 $this->
ctrl->setParameter($this->parent_obj,
'active_id', $a_set[
'active_id']);
111 if (!$this->parent_obj->getObject()->getAnonymity()) {
112 $this->tpl->setCurrentBlock(
'personal');
113 $this->tpl->setVariable(
"PARTICIPANT_FIRSTNAME", $a_set[
'firstname']);
114 $this->tpl->setVariable(
"PARTICIPANT_LOGIN", $a_set[
'login']);
115 $this->tpl->parseCurrentBlock();
118 $this->tpl->setVariable(
"PARTICIPANT_LASTNAME", $a_set[
'lastname']);
120 $this->tpl->setVariable(
"HREF_SCORE_PARTICIPANT", $this->
ctrl->getLinkTarget($this->parent_obj, self::PARENT_EDIT_SCORING_CMD));
121 $this->tpl->setVariable(
"TXT_SCORE_PARTICIPANT", $this->
lng->txt(
'tst_edit_scoring'));
128 return \ilArrayUtil::sortArray(
const PART_FILTER_MANSCORING_NONE
numericOrdering(string $a_field)
Should this field be sorted numeric?
const PART_FILTER_MANSCORING_DONE
enable(string $a_module_name)
setFormAction(string $a_form_action, bool $a_multipart=false)
addFilterItem(ilTableFilterItem $a_input_item, bool $a_optional=false)
getInternalyOrderedDataValues()
setResetCommand(string $a_val, string $a_caption="")
setDisableFilterHiding(bool $a_val=true)
const PARENT_APPLY_FILTER_CMD
setFormName(string $a_name="")
const PARENT_EDIT_SCORING_CMD
__construct(TestScoringByParticipantGUI $parent_obj)
setStyle(string $a_element, string $a_style)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
setDefaultOrderField(string $a_defaultorderfield)
setRowTemplate(string $a_template, string $a_template_dir="")
Set row template.
setFilterCommand(string $a_val, string $a_caption="")
setDefaultOrderDirection(string $a_defaultorderdirection)
__construct(Container $dic, ilPlugin $plugin)
addColumn(string $a_text, string $a_sort_field="", string $a_width="", bool $a_is_checkbox_action_column=false, string $a_class="", string $a_tooltip="", bool $a_tooltip_with_html=false)
const PART_FILTER_ALL_USERS
const PARENT_RESET_FILTER_CMD
determineOffsetAndOrder(bool $a_omit_offset=false)
setPrefix(string $a_prefix)