6 include_once
'./Services/Tracking/classes/class.ilLearningProgressBaseGUI.php';
7 include_once
'./Services/Tracking/classes/class.ilLPStatusWrapper.php';
8 include_once
'Services/Tracking/classes/class.ilLPObjSettings.php';
9 include_once
'Services/Search/classes/class.ilUserFilterGUI.php';
10 include_once
'./Services/Tracking/classes/class.ilLPObjectsTableGUI.php';
32 global $ilUser,$ilObjDataCache;
47 $this->ctrl->setReturn($this,
"");
49 switch($this->ctrl->getNextClass())
51 case 'iltruserobjectspropstablegui':
52 $user_id = (int)
$_GET[
"user_id"];
53 $this->ctrl->setParameter($this,
"user_id", $user_id);
55 $this->ctrl->setParameter($this,
"details_id", $this->details_id);
57 include_once(
"./Services/Tracking/classes/class.ilTrUserObjectsPropsTableGUI.php");
59 $user_id, $this->details_obj_id, $this->details_id);
60 $this->ctrl->forwardCommand($table_gui);
63 case 'illpobjectstablegui':
64 include_once
'./Services/Tracking/classes/class.ilLPObjectsTableGUI.php';
66 $this->ctrl->forwardCommand($table_gui);
69 case 'iltrsummarytablegui':
70 include_once
'./Services/Tracking/classes/class.ilTrSummaryTableGUI.php';
72 $this->ctrl->forwardCommand($table_gui);
75 case 'iltrmatrixtablegui':
76 include_once
'./Services/Tracking/classes/class.ilTrMatrixTableGUI.php';
78 $this->ctrl->forwardCommand($table_gui);
81 case 'iltrobjectuserspropstablegui':
82 $this->ctrl->setParameter($this,
"details_id", $this->details_id);
84 include_once
'./Services/Tracking/classes/class.ilTrObjectUsersPropsTableGUI.php';
86 $this->ctrl->forwardCommand($table_gui);
109 if(isset(
$_GET[
"userdetails_id"]))
118 if(!isset(
$_GET[
"userdetails_id"]))
131 global $ilObjDataCache;
134 if(isset(
$_GET[
"userdetails_id"]))
138 $cancel =
"userdetails";
146 include_once(
"./Services/InfoScreen/classes/class.ilInfoScreenGUI.php");
148 $info->setFormAction($this->ctrl->getFormAction($this));
153 $this->tpl->setVariable(
"ADM_CONTENT", $this->
__showEditUser((
int)$_GET[
'user_id'], $parent_id, $cancel, $sub_id).
"<br />".$info->getHTML());
160 $this->tpl->addBlockFile(
'ADM_CONTENT',
'adm_content',
'tpl.lp_loo.html',
'Services/Tracking');
167 $this->
__showButton($this->ctrl->getLinkTarget($this,
'show'),$this->lng->txt(
'trac_view_list'));
171 $print_view = (bool)
$_GET[
'prt'];
174 $ilToolbar->setFormAction($this->ctrl->getFormAction($this));
175 $this->ctrl->setParameter($this,
'prt', 1);
176 $ilToolbar->addButton($this->lng->txt(
'print_view'),$this->ctrl->getLinkTarget($this,
'details'),
'_blank');
177 $this->ctrl->setParameter($this,
'prt',
'');
188 include_once(
"./Services/InfoScreen/classes/class.ilInfoScreenGUI.php");
190 $info->setFormAction($this->ctrl->getFormAction($this));
193 $this->tpl->setCurrentBlock(
"info");
194 $this->tpl->setVariable(
"INFO_TABLE",$info->getHTML());
195 $this->tpl->parseCurrentBlock();
209 $this->ctrl->setParameter($this,
"details_id", $this->details_id);
211 include_once
"Services/Tracking/classes/class.ilTrObjectUsersPropsTableGUI.php";
214 $this->tpl->setVariable(
"LP_OBJECTS", $gui->getHTML());
219 echo $this->tpl->get(
"DEFAULT",
false,
false,
false,
false,
false,
false);
226 global $ilObjDataCache, $ilToolbar;
234 $this->ctrl->setParameter($this,
"details_id", $this->details_id);
236 $print_view = (bool)
$_GET[
'prt'];
240 $ilToolbar->addButton($this->lng->txt(
'trac_view_list'), $this->ctrl->getLinkTarget($this,
'details'));
243 $user_id = (int)
$_GET[
"user_id"];
244 $this->ctrl->setParameter($this,
"user_id", $user_id);
248 $this->ctrl->setParameter($this,
'prt', 1);
249 $ilToolbar->addButton($this->lng->txt(
'print_view'),$this->ctrl->getLinkTarget($this,
'userDetails'),
'_blank');
250 $this->ctrl->setParameter($this,
'prt',
'');
253 $this->tpl->addBlockFile(
'ADM_CONTENT',
'adm_content',
'tpl.lp_loo.html',
'Services/Tracking');
255 include_once(
"./Services/InfoScreen/classes/class.ilInfoScreenGUI.php");
257 $info->setFormAction($this->ctrl->getFormAction($this));
261 $this->tpl->setVariable(
"INFO_TABLE",$info->getHTML());
263 include_once(
"./Services/Tracking/classes/class.ilTrUserObjectsPropsTableGUI.php");
265 $this->details_obj_id, $this->details_id, $print_view);
266 $this->tpl->setVariable(
'LP_OBJECTS', $table->getHTML());
271 echo $this->tpl->get(
"DEFAULT",
false,
false,
false,
false,
false,
false);
279 $this->ctrl->saveParameter($this,
'offset',0);
295 global $ilUser,$ilObjDataCache;
297 $this->tpl->addBlockFile(
'ADM_CONTENT',
'adm_content',
'tpl.lp_list_objects.html',
'Services/Tracking');
315 include_once(
"./Services/Tracking/classes/class.ilLPProgressTableGUI.php");
318 $this->tpl->setVariable(
"LP_OBJECTS", $lp_table->getHTML());
324 global $ilObjDataCache;
332 $_GET[
'details_id'] = $a_details_id;
333 $this->details_id = $a_details_id;
334 $this->details_obj_id = $ilObjDataCache->lookupObjId($this->details_id);
335 $this->details_type = $ilObjDataCache->lookupType($this->details_obj_id);
345 global
$tpl, $ilToolbar;
347 $print_view = (bool)
$_GET[
'prt'];
350 $ilToolbar->setFormAction($this->ctrl->getFormAction($this));
351 $this->ctrl->setParameter($this,
'prt', 1);
352 $ilToolbar->addButton($this->lng->txt(
'print_view'),$this->ctrl->getLinkTarget($this,
'showObjectSummary'),
'_blank');
353 $this->ctrl->setParameter($this,
'prt',
'');
356 include_once(
"./Services/Tracking/classes/class.ilTrSummaryTableGUI.php");
360 $tpl->setContent($table->getHTML());
364 $tpl->setVariable(
"ADM_CONTENT", $table->getHTML());
365 echo $tpl->get(
"DEFAULT",
false,
false,
false,
false,
false,
false);
384 $this->tpl->addBlockFile(
'ADM_CONTENT',
'adm_content',
'tpl.lp_loo.html',
'Services/Tracking');
386 include_once(
"./Services/InfoScreen/classes/class.ilInfoScreenGUI.php");
388 $info->setFormAction($this->ctrl->getFormAction($this));
391 $this->tpl->setCurrentBlock(
"info");
392 $this->tpl->setVariable(
"INFO_TABLE",$info->getHTML());
393 $this->tpl->parseCurrentBlock();
396 include_once(
"./Services/Tracking/classes/class.ilTrMatrixTableGUI.php");
398 $this->tpl->setVariable(
'LP_OBJECTS', $table->getHTML());