ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
class.ilSCORM2004TrackingTableGUI.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
27{
29
30
31 public function __construct(object $a_parent_obj, string $a_parent_cmd = "")
32 {
33 global $DIC;
34
35 $this->ctrl = $DIC->ctrl();
36 $this->lng = $DIC->language();
37 $this->access = $DIC->access();
38
39 parent::__construct($a_parent_obj, $a_parent_cmd);
40
41 $this->addColumn("", "f", "1");
42 $this->addColumn($this->lng->txt("user"), "user_full_name", "100%");
43 $this->setFormAction($this->ctrl->getFormAction($a_parent_obj));
44 $this->setRowTemplate(
45 "tpl.table_scorm_2004_tracking_row.html",
46 "components/ILIAS/Scorm2004"
47 );
48 $this->setDefaultOrderField("user_full_name");
49 $this->addMultiCommand("deleteTrackingData", $this->lng->txt("cont_delete_track_data"));
50 $this->setSelectAllCheckbox("id");
51 }
52
57 protected function fillRow(array $a_set): void
58 {
59 // $lng = $this->lng;
60 // $ilCtrl = $this->ctrl;
61 // $ilAccess = $this->access;
62
63 $this->tpl->setVariable("USER_NAME", $a_set["user_full_name"]);
64 $this->tpl->setVariable("USER_ID", $a_set["user_id"]);
65 }
66}
TableGUI class for table NewsForContext.
fillRow(array $a_set)
Standard Version of Fill Row.
__construct(object $a_parent_obj, string $a_parent_cmd="")
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
addMultiCommand(string $a_cmd, string $a_text)
setFormAction(string $a_form_action, bool $a_multipart=false)
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)
setDefaultOrderField(string $a_defaultorderfield)
setSelectAllCheckbox(string $a_select_all_checkbox, bool $a_select_all_on_top=false)
setRowTemplate(string $a_template, string $a_template_dir="")
Set row template.
Interface ilAccessHandler This interface combines all available interfaces which can be called via gl...
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc
global $DIC
Definition: shib_login.php:26