ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
class.ilPDStudyProgrammeExpandableListGUI.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
27{
28 public const BLOCK_TYPE = "prgexpandablelist";
29
30 protected function shouldShowThisList(): bool
31 {
32 $cmd = $this->request_wrapper->retrieve("cmd", $this->refinery->kindlyTo()->string());
33 $expand = $this->request_wrapper->retrieve("expand", $this->refinery->kindlyTo()->bool());
34 return $cmd === "jumpToSelectedItems" && $expand;
35 }
36
38 ilStudyProgrammeAssignment $assignment
40 $prg = ilObjStudyProgramme::getInstanceByObjId($assignment->getRootId());
41 $progress = $assignment->getProgressTree();
42 $progress_gui = new ilStudyProgrammeExpandableProgressListGUI($progress);
43 $progress_gui->setOnlyRelevant(true);
44 return $progress_gui;
45 }
46}
Personal Desktop-Presentation for the Study Programme.
new_ilStudyProgrammeAssignmentListGUI(ilStudyProgrammeAssignment $assignment)
Personal Desktop-Presentation for the Study Programme.