ILIAS  release_8 Revision v8.19
All Data Structures Namespaces Files Functions Variables Modules Pages
ilPDStudyProgrammeExpandableListGUI Class Reference

This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. 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 ()
 
 fillRowColor (string $a_placeholder="CSS_ROW")
 
 preloadData (array $data)
 Can be overwritten in subclasses. More...
 
 getLegacyContent ()
 Get legacy content. More...
 
 getViewControls ()
 Get view controls. 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...
 
 send (string $output)
 Send. More...
 

Additional Inherited Members

- Public Member Functions inherited from ilPDStudyProgrammeSimpleListGUI
 __construct ()
 
 getHTML ()
 
 getDataSectionContent ()
 
 getBlockType ()
 
 fillDataSection ()
 
- 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 ()
 
 correctOffset ()
 
 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="")
 
 getBlockCommands ()
 
 getHTML ()
 
 fillHeaderCommands ()
 
 fillHeaderTitleBlock ()
 
 setDataSection (string $a_content)
 Call this from overwritten fillDataSection(), if standard row based data is not used. More...
 
 fillDataSection ()
 Standard implementation for row based data. More...
 
 fillRow (array $a_set)
 
 fillFooter ()
 
 fillPreviousNext ()
 
 setPreviousNextLinks ()
 
 getAsynch ()
 Use this for final get before sending asynchronous output (ajax) per echo to output. More...
 
 getPaginationViewControl ()
 Fill previous/next row. More...
 
 getHTMLNew ()
 
 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
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
 
bool $new_rendering = false
 

Detailed Description

This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.

ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.

If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning 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  }
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
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: