ILIAS  release_5-1 Revision 5.0.0-5477-g43f3e3fab5f
class.ilPDStudyProgrammeExpandableListGUI.php
Go to the documentation of this file.
1 <?php
2 
3 /* Copyright (c) 2015 Richard Klees <richard.klees@concepts-and-training.de> Extended GPL, see docs/LICENSE */
4 
5 require_once("Modules/StudyProgramme/classes/class.ilPDStudyProgrammeSimpleListGUI.php");
6 
14  const BLOCK_TYPE = "prgexpandablelist";
15 
16  public function __construct() {
17  parent::__construct();
18  }
19 
20  protected function shouldShowThisList() {
21  return $_GET["cmd"] == "jumpToSelectedItems" && $_GET["expand"];
22  }
23 
25  require_once("Modules/StudyProgramme/classes/class.ilStudyProgrammeExpandableProgressListGUI.php");
26  $progress = $a_assignment->getStudyProgramme()->getProgressForAssignment($a_assignment->getId());
27  $progress_gui = new ilStudyProgrammeExpandableProgressListGUI($progress);
28  $progress_gui->setOnlyRelevant(true);
29  return $progress_gui;
30  }
31 }
new_ilStudyProgrammeAssignmentListGUI(ilStudyProgrammeUserAssignment $a_assignment)
$_GET["client_id"]
Personal Desktop-Presentation for the Study Programme.
getStudyProgramme()
Get the program node where this assignment was made.
Personal Desktop-Presentation for the Study Programme.
Represents one assignment of a user to a study programme.