19 declare(strict_types=1);
34 $this->questioninfo = $DIC->testQuestionPool()->questionInfo();
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"]) {
71 $title = $this->questioninfo->getQuestionTitle((
int) $a_set[
"question_fi"]);
73 $title = $this->questioninfo->getQuestionTitle((
int) $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 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)
ILIAS TestQuestionPool QuestionInfoService $questioninfo
setDefaultOrderField(string $a_defaultorderfield)
setRowTemplate(string $a_template, string $a_template_dir="")
Set row template.
setDefaultOrderDirection(string $a_defaultorderdirection)
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)
__construct(ilObjAssessmentFolderGUI $parent_obj, string $parent_cmd)