ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
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 {
15  const BLOCK_TYPE = "prgexpandablelist";
16 
17  public function __construct()
18  {
19  parent::__construct();
20  }
21 
22  protected function shouldShowThisList()
23  {
24  return $_GET["cmd"] == "jumpToSelectedItems" && $_GET["expand"];
25  }
26 
28  {
29  require_once("Modules/StudyProgramme/classes/class.ilStudyProgrammeExpandableProgressListGUI.php");
30  $progress = $a_assignment->getStudyProgramme()->getProgressForAssignment($a_assignment->getId());
31  $progress_gui = new ilStudyProgrammeExpandableProgressListGUI($progress);
32  $progress_gui->setOnlyRelevant(true);
33  return $progress_gui;
34  }
35 }
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.