5 include_once(
'./Services/Table/classes/class.ilTable2GUI.php');
31 $this->
setId(
'manScorePartTable');
33 parent::__construct($parentObj, self::PARENT_DEFAULT_CMD);
42 $this->
setStyle(
'table',
'fullwidth');
48 $this->
setRowTemplate(
"tpl.il_as_tst_man_scoring_participant_tblrow.html",
"Modules/Test");
61 if ($this->parent_obj->object->getAnonymity()) {
87 include_once
'Services/Form/classes/class.ilSelectInputGUI.php';
88 $participantStatus =
new ilSelectInputGUI(
$lng->txt(
'tst_participant_status'),
'participant_status');
90 $statusOptions = array();
98 $participantStatus->setOptions($statusOptions);
102 $participantStatus->readFromSession();
104 if (!$participantStatus->getValue()) {
122 $ilCtrl->setParameter($this->parent_obj,
'active_id',
$row[
'active_id']);
124 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'));
static sortArray( $array, $a_array_sortby, $a_array_sortorder=0, $a_numeric=false, $a_keep_keys=false)
sortArray
setDefaultOrderField($a_defaultorderfield)
Set Default order field.
setStyle($a_element, $a_style)
const PARENT_EDIT_SCORING_CMD
const PARENT_RESET_FILTER_CMD
addFilterItem($a_input_item, $a_optional=false)
Add filter item.
const PART_FILTER_ACTIVE_ONLY
fillRow($row)
ilCtrl $ilCtrl ilLanguage $lng
getOrderDirection()
Get order direction.
const PARENT_APPLY_FILTER_CMD
getInternalyOrderedDataValues()
setDefaultOrderDirection($a_defaultorderdirection)
Set Default order direction.
const PART_FILTER_MANSCORING_NONE
setResetCommand($a_val, $a_caption=null)
Set reset filter command.
setDisableFilterHiding($a_val=true)
Set disable filter hiding.
numericOrdering($a_field)
Should this field be sorted numeric?
enable($a_module_name)
enables particular modules of table
setRowTemplate($a_template, $a_template_dir="")
Set row template.
const PART_FILTER_ALL_USERS
const PART_FILTER_INACTIVE_ONLY
determineOffsetAndOrder($a_omit_offset=false)
Determine offset and order.
setFormAction($a_form_action, $a_multipart=false)
Set Form action parameter.
setFormName($a_formname="")
Set Form name.
addColumn( $a_text, $a_sort_field="", $a_width="", $a_is_checkbox_action_column=false, $a_class="", $a_tooltip="", $a_tooltip_with_html=false)
Add a column to the header.
__construct($parentObj)
ilCtrl $ilCtrl ilLanguage $lng
const PART_FILTER_MANSCORING_DONE
setFilterCommand($a_val, $a_caption=null)
Set filter command.