ILIAS  release_8 Revision v8.24
class.ilPDStudyProgrammeExpandableListGUI.php
Go to the documentation of this file.
1<?php
2
3declare(strict_types=1);
4
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}
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
new_ilStudyProgrammeAssignmentListGUI(ilStudyProgrammeAssignment $assignment)
Personal Desktop-Presentation for the Study Programme.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...