4 include_once(
"./Services/Table/classes/class.ilTable2GUI.php");
5 include_once
'./Services/Search/classes/class.ilSearchSettings.php';
24 function __construct($a_parent_obj, $a_parent_cmd, $a_type =
"", $a_objs =
"")
28 $this->tracked_user = $a_user;
29 $this->objs = $a_objs;
32 $this->
setTitle($this->lng->txt(
"learning_progress"));
37 $this->
addColumn($this->lng->txt(
"trac_title_description"),
"",
"90%");
38 $this->
addColumn($this->lng->txt(
"actions"),
"",
"10%");
41 $this->
setFormAction($ilCtrl->getFormActionByClass(
"illpfiltergui"));
42 $this->
setRowTemplate(
"tpl.lp_object_list_row.html",
"Services/Tracking");
43 #$this->disable("footer");
47 $this->
setId(
"lp_obj_table");
52 $this->
addMultiCommand(
"hideSelected", $lng->txt(
"trac_hide_selected"));
65 include_once(
"./Services/Tracking/classes/class.ilLPFilterGUI.php");
69 include_once(
"./Services/Tracking/classes/class.ilLPFilterGUI.php");
71 include_once(
"./Services/Form/classes/class.ilSelectInputGUI.php");
74 $si->setValue($filter_gui->filter->getFilterType());
78 $options = $filter_gui->prepareHidden();
79 $values = array_keys($options);
80 if (count($options) > 0)
82 include_once(
"./Services/Form/classes/class.ilMultiSelectInputGUI.php");
85 $msi->setOptions($options);
90 include_once(
"./Services/Form/classes/class.ilNonEditableValueGUI.php");
98 include_once(
"./Services/Form/classes/class.ilTextInputGUI.php");
99 $ti =
new ilTextInputGUI($lng->txt(
"trac_title_description"),
"query");
102 $ti->setValue($filter_gui->filter->getQueryString());
106 include_once(
"./Services/Form/classes/class.ilRepositorySelectorInputGUI.php");
110 $rs->readFromSession();
121 $this->tpl->setCurrentBlock(
"item_command");
122 $ilCtrl->setParameterByClass(
'illpfiltergui',
'hide',$object_id);
123 $this->tpl->setVariable(
"HREF_COMMAND", $ilCtrl->getLinkTargetByClass(
'illpfiltergui',
'hide'));
124 $this->tpl->setVariable(
"TXT_COMMAND", $lng->txt(
'trac_hide'));
125 $this->tpl->parseCurrentBlock();
130 $item_list->addCheckbox(
"");
131 $item_list->setCmdClass(get_class($this->parent_obj));
132 $item_list->addReferences($this->objs[$object_id][
'ref_ids']);
133 $item_list->enable(
'path');
134 $item_list->renderObjectList();
137 $this->tpl->setVariable(
"OBJ_ID", $object_id);
138 $this->tpl->setVariable(
"ITEM_HTML",$item_list->getHTML());
140 $item_list->getUserStatus());