5 include_once(
'./Services/Table/classes/class.ilTable2GUI.php');
28 parent::__construct($a_parent_obj, $a_parent_cmd);
36 $this->
setStyle(
'table',
'fullwidth');
38 $this->
addColumn($this->lng->txt(
"assessment_log_datetime"),
'datetime',
'');
39 $this->
addColumn($this->lng->txt(
"user"),
'user',
'');
40 $this->
addColumn($this->lng->txt(
"assessment_log_text"),
'log',
'');
41 $this->
addColumn($this->lng->txt(
"location"),
'location',
'');
43 $this->
setRowTemplate(
"tpl.il_as_tst_history_row.html",
"Modules/Test");
53 $this->tstObject = $obj;
67 $username = $this->tstObject->userLookupFullName(
$data[
"user_fi"], TRUE);
69 $this->tpl->setVariable(
"USER", $username);
72 if (strlen(
$data[
"ref_id"]) && strlen(
$data[
"href"]))
74 $location =
'<a href="' .
$data[
'href'] .
'">' . $this->lng->txt(
"perma_link") .
'</a>';
76 $this->tpl->setVariable(
"LOCATION",
$location);
static prepareFormOutput($a_str, $a_strip=false)
prepares string output for html forms public
setFormName($a_formname)
Set Form name.
setDefaultOrderField($a_defaultorderfield)
Set Default order field.
setStyle($a_element, $a_style)
setDefaultOrderDirection($a_defaultorderdirection)
Set Default order direction.
__construct($a_parent_obj, $a_parent_cmd)
Constructor.
addColumn($a_text, $a_sort_field="", $a_width="", $a_is_checkbox_action_column=false, $a_class="", $a_tooltip="")
Add a column to the header.
enable($a_module_name)
enables particular modules of table
static formatDate(ilDateTime $date)
Format a date public.
setRowTemplate($a_template, $a_template_dir="")
Set row template.