ILIAS  trunk Revision v11.0_alpha-1769-g99a433fe2dc
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
ilPDStudyProgrammeExpandableListGUI Class Reference

Personal Desktop-Presentation for the Study Programme. More...

+ Inheritance diagram for ilPDStudyProgrammeExpandableListGUI:
+ Collaboration diagram for ilPDStudyProgrammeExpandableListGUI:

Data Fields

const BLOCK_TYPE = "prgexpandablelist"
 
- Data Fields inherited from ilPDStudyProgrammeSimpleListGUI
const BLOCK_TYPE = "prgsimplelist"
 
- Data Fields inherited from ilBlockGUI
const PRES_MAIN_LEG = 0
 
const PRES_SEC_LEG = 1
 
const PRES_SEC_LIST = 2
 
const PRES_MAIN_LIST = 3
 
const PRES_MAIN_TILE = 4
 

Protected Member Functions

 shouldShowThisList ()
 
 new_ilStudyProgrammeAssignmentListGUI (ilStudyProgrammeAssignment $assignment)
 
- Protected Member Functions inherited from ilPDStudyProgrammeSimpleListGUI
 isRepositoryObject ()
 
 userHasVisibleStudyProgrammes ()
 
 userHasReadableStudyProgrammes ()
 
 getVisibleOnPDMode ()
 
 hasPermission (ilStudyProgrammeAssignment $assignment, string $permission)
 
 isVisible (ilStudyProgrammeAssignment $assignment)
 
 isReadable (ilStudyProgrammeAssignment $assignment)
 
 shouldShowThisList ()
 
 getUsersAssignments ()
 
 new_ilStudyProgrammeAssignmentListGUI (ilStudyProgrammeAssignment $assignment)
 
- Protected Member Functions inherited from ilBlockGUI
 isRepositoryObject ()
 Returns whether block has a corresponding repository object. More...
 
 specialCharsAsEntities (string $string)
 
 initCommands ()
 
 preloadData (array $data)
 Can be overwritten in subclasses. More...
 
 getLegacyContent ()
 Get legacy content. More...
 
 getListItemForData (array $data)
 Get list item for data array. More...
 
 handleNavigation ()
 Handle navigation. More...
 
 loadData ()
 Load data for current page. More...
 
 getListItemGroups ()
 Get items. More...
 
 addRepoCommands ()
 Add repo commands. More...
 
 getActionsForPanel ()
 
 send (string $output)
 Send. More...
 

Additional Inherited Members

- Public Member Functions inherited from ilPDStudyProgrammeSimpleListGUI
 __construct ()
 
 getHTML ()
 
 getDataSectionContent ()
 
 getBlockType ()
 
- Public Member Functions inherited from ilBlockGUI
 __construct ()
 
 getBlockType ()
 
 setData (array $a_data)
 
 getData ()
 
 setPresentation (int $type)
 
 getPresentation ()
 
 setBlockId (string $a_block_id="0")
 
 getBlockId ()
 
 setGuiObject (object $a_gui_object)
 Set GuiObject. More...
 
 getGuiObject ()
 
 setTitle (string $a_title)
 
 getTitle ()
 
 setOffset (int $a_offset)
 
 getOffset ()
 
 checkOffset (int $offset)
 
 setLimit (int $a_limit)
 
 getLimit ()
 
 setEnableEdit (bool $a_enableedit)
 
 getEnableEdit ()
 
 setRepositoryMode (bool $a_repositorymode)
 
 getRepositoryMode ()
 
 setSubtitle (string $a_subtitle)
 
 getSubtitle ()
 
 setRefId (int $a_refid)
 Set Ref Id (only used if isRepositoryObject() is true). More...
 
 getRefId ()
 
 setAdminCommands (bool $a_admincommands)
 
 getAdminCommands ()
 
 setEnableNumInfo (bool $a_enablenuminfo)
 
 getEnableNumInfo ()
 
 setProperties (array $a_properties)
 This function is supposed to be used for block type specific properties, that should be inherited through ilColumnGUI->setBlockProperties. More...
 
 getProperty (string $a_property)
 
 setProperty (string $a_property, string $a_value)
 
 setRowTemplate (string $a_rowtemplatename, string $a_rowtemplatedir="")
 Set Row Template Name. More...
 
 getNavParameter ()
 
 getConfigParameter ()
 
 getMoveParameter ()
 
 getRowTemplateName ()
 
 getRowTemplateDir ()
 
 addBlockCommand (string $a_href, string $a_text, string $a_onclick="", ?RoundTrip $modal=null)
 
 getBlockCommands ()
 
 getHTML ()
 
 getAsynch ()
 Use this for final get before sending asynchronous output (ajax) per echo to output. More...
 
 getPaginationViewControl ()
 Fill previous/next row. More...
 
 getViewControlsForPanel ()
 
 sortObject ()
 
 addSortOption (string $option, string $label, bool $active)
 
 setSortTarget (string $target)
 
 addPresentation (string $label, string $target, bool $active)
 
 getNoItemFoundContent ()
 
- Static Public Member Functions inherited from ilBlockGUI
static getScreenMode ()
 
- Protected Attributes inherited from ilPDStudyProgrammeSimpleListGUI
ilSetting $setting
 
 $logger
 
ilStudyProgrammeAssignmentDBRepository $sp_user_assignment_db
 
RequestWrapper $request_wrapper
 
Factory $refinery
 
array $users_assignments
 
string $visible_on_pd_mode
 
bool $show_info_message
 
- Protected Attributes inherited from ilBlockGUI
ILIAS UI Renderer $renderer
 
Factory $factory
 
object $gui_object
 
ILIAS Block StandardGUIRequest $request
 
ILIAS Block BlockManager $block_manager
 
bool $repositorymode = false
 
ILIAS DI UIServices $ui
 
array $data = array()
 
bool $enablenuminfo = true
 
array $footer_links = array()
 
string $block_id = "0"
 
bool $allow_moving = true
 
array $move = array("left" => false, "right" => false, "up" => false, "down" => false)
 
array $block_commands = array()
 
int $max_count = 0
 
bool $close_command = false
 
bool $image = false
 
array $property = []
 
string $nav_value = ""
 
string $css_row = ""
 
string $title = ""
 
bool $admincommands = false
 
array $dropdown
 
ilTemplate $tpl
 
ilGlobalTemplateInterface $main_tpl
 
ilObjUser $user
 
ilCtrl $ctrl
 
ilAccessHandler $access
 
ilLanguage $lng
 
ilObjectDefinition $obj_def
 
int $presentation
 
int $requested_ref_id
 

Detailed Description

Personal Desktop-Presentation for the Study Programme.

ilPDStudyProgrammeExpandableListGUI: ilColumnGUI

Definition at line 26 of file class.ilPDStudyProgrammeExpandableListGUI.php.

Member Function Documentation

◆ new_ilStudyProgrammeAssignmentListGUI()

ilPDStudyProgrammeExpandableListGUI::new_ilStudyProgrammeAssignmentListGUI ( ilStudyProgrammeAssignment  $assignment)
protected

Definition at line 37 of file class.ilPDStudyProgrammeExpandableListGUI.php.

References ilObjStudyProgramme\getInstanceByObjId().

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  }
static getInstanceByObjId(int $obj_id)
+ Here is the call graph for this function:

◆ shouldShowThisList()

ilPDStudyProgrammeExpandableListGUI::shouldShowThisList ( )
protected

Definition at line 30 of file class.ilPDStudyProgrammeExpandableListGUI.php.

References ILIAS\Repository\refinery().

30  : 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  }
+ Here is the call graph for this function:

Field Documentation

◆ BLOCK_TYPE

const ilPDStudyProgrammeExpandableListGUI::BLOCK_TYPE = "prgexpandablelist"

The documentation for this class was generated from the following file: