3 declare(strict_types=1);
33 $ilCtrl = $DIC[
'ilCtrl'];
36 $this->
ctrl = $ilCtrl;
39 $this->
setStyle(
'table',
'fullwidth');
41 $this->
addColumn($this->
lng->txt(
"assessment_log_datetime"),
'date',
'10%');
42 $this->
addColumn($this->
lng->txt(
"user"),
'user',
'20%');
43 $this->
addColumn($this->
lng->txt(
"assessment_log_text"),
'message',
'50%');
44 $this->
addColumn($this->
lng->txt(
"ass_location"),
'',
'20%');
46 $this->
setRowTemplate(
"tpl.il_as_tst_assessment_log_row.html",
"Modules/Test");
58 protected function fillRow(array $a_set): void
62 $this->tpl->setVariable(
65 trim($user[
"title"] .
" " . $user[
"firstname"] .
" " . $user[
"lastname"])
70 if ($a_set[
"question_fi"] || $a_set[
"original_fi"]) {
77 $this->tpl->setVariable(
82 if ($a_set[
'location_href'] !==
'' && $a_set[
'location_txt'] !==
'') {
83 $this->tpl->setVariable(
"LOCATION_HREF", $a_set[
'location_href']);
84 $this->tpl->setVariable(
"LOCATION_TXT", $a_set[
'location_txt']);
enable(string $a_module_name)
setFormAction(string $a_form_action, bool $a_multipart=false)
Class ilObjAssessmentFolderGUI.
static _getQuestionTitle(int $question_id)
static formatDate(ilDateTime $date, bool $a_skip_day=false, bool $a_include_wd=false, bool $include_seconds=false)
static _lookupName(int $a_user_id)
lookup user name
setFormName(string $a_name="")
setStyle(string $a_element, string $a_style)
__construct(ilObjAssessmentFolderGUI $a_parent_obj, string $a_parent_cmd)
setDefaultOrderField(string $a_defaultorderfield)
setRowTemplate(string $a_template, string $a_template_dir="")
Set row template.
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)
disable(string $a_module_name)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...