|
ILIAS
release_8 Revision v8.24
|
Parent class of all container content GUIs. More...
Inheritance diagram for ilContainerContentGUI:
Collaboration diagram for ilContainerContentGUI:Public Member Functions | |
| getContainerObject () | |
| getContainerGUI () | |
| setOutput () | |
| This method sets the output of the right and main column in the global standard template. More... | |
| getMainContent () | |
| Get content HTML for main column, this one must be overwritten in derived classes. More... | |
| determinePageEmbeddedBlocks (string $a_container_page_html) | |
| Determine all blocks that are embedded in the container page. More... | |
| addEmbeddedBlock (string $block_type, $block_parameter) | |
| Add embedded block. More... | |
| getEmbeddedBlocks () | |
| renderPageEmbeddedBlocks () | |
| renderItem (array $a_item_data, int $a_position=0, bool $a_force_icon=false, string $a_pos_prefix="", string $item_group_list_presentation="") | |
| Render an item. More... | |
| renderCard (array $a_item_data, int $a_position=0, bool $a_force_icon=false, string $a_pos_prefix="") | |
| insertPageEmbeddedBlocks (string $a_output_html) | |
| Insert blocks into container page. More... | |
| getSingleTypeBlockAsynch (string $type) | |
| Render single block. More... | |
| getGroupedObjTypes () | |
| Get grouped repository object types. More... | |
| getIntroduction () | |
| getItemGroupsHTML (int $a_pos=0) | |
| renderItemGroup (array $a_itgr) | |
Data Fields | |
| const | DETAILS_DEACTIVATED = 0 |
| const | DETAILS_TITLE = 1 |
| const | DETAILS_ALL = 2 |
| const | VIEW_MODE_LIST = 0 |
| const | VIEW_MODE_TILE = 1 |
| ilContainerGUI | $container_gui |
| ilContainer | $container_obj |
| bool | $adminCommands = false |
Protected Member Functions | |
| getViewMode () | |
| getDetailsLevel (int $a_item_id) | |
| getRightColumnHTML () | |
| getCenterColumnHTML () | |
| initRenderer () | |
| Init container renderer. More... | |
| clearAdminCommandsDetermination () | |
| determineAdminCommands (int $a_ref_id, bool $a_admin_com_included_in_list=false) | |
| getItemGUI (array $item_data) | |
| hasForcedOrderByStartDate (string $type) | |
| handleSessionExpand () | |
Protected Attributes | |
| ilGlobalTemplateInterface | $tpl |
| ilCtrl | $ctrl |
| ilObjUser | $user |
| ilLanguage | $lng |
| ilAccessHandler | $access |
| ilDBInterface | $db |
| ilRbacSystem | $rbacsystem |
| ilSetting | $settings |
| ilObjectDefinition | $obj_definition |
| int | $details_level = self::DETAILS_DEACTIVATED |
| ilContainerRenderer | $renderer |
| ilLogger | $log |
| int | $view_mode |
| array | $embedded_block = [] |
| array | $items = [] |
| array | $list_gui = [] |
| ClipboardManager | $clipboard |
| StandardGUIRequest | $request |
| ItemManager | $item_manager |
| BlockSessionRepository | $block_repo |
Private Member Functions | |
| forwardToColumnGUI () | |
| Get columngui output. More... | |
Parent class of all container content GUIs.
These classes are responsible for displaying the content, i.e. the side column and main column and its subitems in container objects.
Definition at line 32 of file class.ilContainerContentGUI.php.
| ilContainerContentGUI::addEmbeddedBlock | ( | string | $block_type, |
| $block_parameter | |||
| ) |
Add embedded block.
| string | $block_type | |
| string | int | $block_parameter |
Definition at line 420 of file class.ilContainerContentGUI.php.
|
protected |
Definition at line 327 of file class.ilContainerContentGUI.php.
Referenced by ilContainerByTypeContentGUI\renderItemList(), ilContainerSessionsContentGUI\showMaterials(), and ilContainerObjectiveGUI\showObjectives().
Here is the caller graph for this function:
|
protected |
Definition at line 332 of file class.ilContainerContentGUI.php.
References $rbacsystem, ilRbacSystem\checkAccess(), and getContainerGUI().
Here is the call graph for this function:| ilContainerContentGUI::determinePageEmbeddedBlocks | ( | string | $a_container_page_html | ) |
Determine all blocks that are embedded in the container page.
Definition at line 393 of file class.ilContainerContentGUI.php.
References $type.
|
private |
Get columngui output.
Definition at line 294 of file class.ilContainerContentGUI.php.
References $ctrl, ilObject\_lookupObjId(), ilObject\_lookupType(), ilColumnGUI\getCmdSide(), getContainerGUI(), getContainerObject(), getMainContent(), ilColumnGUI\getScreenMode(), IL_COL_LEFT, IL_COL_RIGHT, and IL_SCREEN_SIDE.
Referenced by getCenterColumnHTML().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 223 of file class.ilContainerContentGUI.php.
References $ctrl, $db, $ilDB, $tpl, ilGlobalTemplateInterface\addOnLoadCode(), forwardToColumnGUI(), and getMainContent().
Referenced by setOutput().
Here is the call graph for this function:
Here is the caller graph for this function:| ilContainerContentGUI::getContainerGUI | ( | ) |
Definition at line 134 of file class.ilContainerContentGUI.php.
References $container_gui.
Referenced by determineAdminCommands(), forwardToColumnGUI(), ilContainerByTypeContentGUI\getDetailsLevel(), ilContainerSessionsContentGUI\getDetailsLevel(), ilContainerByTypeContentGUI\getMainContent(), ilContainerObjectiveGUI\getMainContent(), getRightColumnHTML(), initRenderer(), ilContainerByTypeContentGUI\renderItemList(), ilContainerSessionsContentGUI\showMaterials(), and ilContainerObjectiveGUI\showObjectives().
Here is the caller graph for this function:| ilContainerContentGUI::getContainerObject | ( | ) |
Definition at line 129 of file class.ilContainerContentGUI.php.
References $container_obj.
Referenced by forwardToColumnGUI(), ilContainerByTypeContentGUI\getMainContent(), ilContainerObjectiveGUI\getMainContent(), getRightColumnHTML(), ilContainerByTypeContentGUI\initDetails(), initRenderer(), setOutput(), ilContainerSessionsContentGUI\showMaterials(), and ilContainerObjectiveGUI\showObjectives().
Here is the caller graph for this function:
|
protected |
Reimplemented in ilContainerByTypeContentGUI, ilContainerObjectiveGUI, ilContainerSessionsContentGUI, and ilContainerSimpleContentGUI.
Definition at line 124 of file class.ilContainerContentGUI.php.
References $details_level.
| ilContainerContentGUI::getEmbeddedBlocks | ( | ) |
Definition at line 427 of file class.ilContainerContentGUI.php.
| ilContainerContentGUI::getGroupedObjTypes | ( | ) |
Get grouped repository object types.
Definition at line 780 of file class.ilContainerContentGUI.php.
Referenced by ilContainerByTypeContentGUI\renderItemList().
Here is the caller graph for this function:| ilContainerContentGUI::getIntroduction | ( | ) |
Definition at line 791 of file class.ilContainerContentGUI.php.
References $lng, $tpl, and ilObject\_getIcon().
Referenced by ilContainerByTypeContentGUI\getMainContent().
Here is the call graph for this function:
Here is the caller graph for this function:| ilContainerContentGUI::getItemGroupsHTML | ( | int | $a_pos = 0 | ) |
Definition at line 810 of file class.ilContainerContentGUI.php.
Referenced by ilContainerByTypeContentGUI\renderItemList(), and ilContainerSessionsContentGUI\showMaterials().
Here is the caller graph for this function:
|
protected |
Definition at line 349 of file class.ilContainerContentGUI.php.
References ilObjectListGUIFactory\_getListGUIByType().
Here is the call graph for this function:
|
abstract |
Get content HTML for main column, this one must be overwritten in derived classes.
Reimplemented in ilContainerByTypeContentGUI, ilContainerObjectiveGUI, ilContainerSessionsContentGUI, and ilContainerSimpleContentGUI.
Referenced by forwardToColumnGUI(), and getCenterColumnHTML().
Here is the caller graph for this function:
|
protected |
Definition at line 181 of file class.ilContainerContentGUI.php.
References $ctrl, ilObject\_lookupObjId(), ilObject\_lookupType(), getContainerGUI(), getContainerObject(), IL_COL_RIGHT, IL_SCREEN_FULL, IL_SCREEN_SIDE, and ilCtrl\saveParameterByClass().
Referenced by setOutput().
Here is the call graph for this function:
Here is the caller graph for this function:| ilContainerContentGUI::getSingleTypeBlockAsynch | ( | string | $type | ) |
Render single block.
Definition at line 730 of file class.ilContainerContentGUI.php.
References $type.
|
protected |
Definition at line 119 of file class.ilContainerContentGUI.php.
References $view_mode.
Referenced by ilContainerGUI\getContentGUI().
Here is the caller graph for this function:
|
protected |
Definition at line 921 of file class.ilContainerContentGUI.php.
Referenced by ilContainerByTypeContentGUI\initDetails().
Here is the caller graph for this function:
|
protected |
Definition at line 473 of file class.ilContainerContentGUI.php.
References $type.
|
protected |
Init container renderer.
Definition at line 268 of file class.ilContainerContentGUI.php.
References ilContainerSorting\_getInstance(), ilEventItems\_getItemsOfContainer(), getContainerGUI(), getContainerObject(), and ILIAS\Survey\Mode\getId().
Referenced by ilContainerObjectiveGUI\getMainContent(), ilContainerByTypeContentGUI\renderItemList(), and ilContainerSessionsContentGUI\showMaterials().
Here is the call graph for this function:
Here is the caller graph for this function:| ilContainerContentGUI::insertPageEmbeddedBlocks | ( | string | $a_output_html | ) |
Insert blocks into container page.
Definition at line 696 of file class.ilContainerContentGUI.php.
References $type, and ILIAS\Repository\int().
Referenced by ilContainerByTypeContentGUI\renderItemList(), ilContainerSessionsContentGUI\showMaterials(), and ilContainerObjectiveGUI\showObjectives().
Here is the call graph for this function:
Here is the caller graph for this function:| ilContainerContentGUI::renderCard | ( | array | $a_item_data, |
| int | $a_position = 0, |
||
| bool | $a_force_icon = false, |
||
| string | $a_pos_prefix = "" |
||
| ) |
Definition at line 661 of file class.ilContainerContentGUI.php.
| ilContainerContentGUI::renderItem | ( | array | $a_item_data, |
| int | $a_position = 0, |
||
| bool | $a_force_icon = false, |
||
| string | $a_pos_prefix = "", |
||
| string | $item_group_list_presentation = "" |
||
| ) |
Render an item.
Definition at line 482 of file class.ilContainerContentGUI.php.
References $ilSetting, ILIAS\LTI\ToolProvider\$settings, ilContainerSorting\_getInstance(), ilObjectActivation\addListGUIActivationProperty(), ilObjectListGUI\DETAILS_ALL, ilObjectListGUI\DETAILS_MINIMAL, ilContainer\getCompleteDescriptions(), ILIAS\Survey\Mode\getId(), and ilObjectActivation\getItemsByEvent().
Referenced by ilContainerByTypeContentGUI\renderItemList(), and ilContainerSessionsContentGUI\showMaterials().
Here is the call graph for this function:
Here is the caller graph for this function:| ilContainerContentGUI::renderItemGroup | ( | array | $a_itgr | ) |
Definition at line 824 of file class.ilContainerContentGUI.php.
References $data, $i, $ilUser, ilContainerSorting\_getInstance(), ilItemGroupBehaviour\ALWAYS_OPEN, ilItemGroupBehaviour\EXPANDABLE_CLOSED, ilItemGroupBehaviour\EXPANDABLE_OPEN, ilContainer\getCompleteDescriptions(), ILIAS\Survey\Mode\getId(), ilObjectActivation\getItemsByItemGroup(), and ilObjItemGroup\lookupHideTitle().
Here is the call graph for this function:| ilContainerContentGUI::renderPageEmbeddedBlocks | ( | ) |
Definition at line 432 of file class.ilContainerContentGUI.php.
References $ref_id, $type, and ilArrayUtil\sortArray().
Here is the call graph for this function:| ilContainerContentGUI::setOutput | ( | ) |
This method sets the output of the right and main column in the global standard template.
Definition at line 143 of file class.ilContainerContentGUI.php.
References $ctrl, $ilUser, $tpl, $user, ilObject\_lookupObjId(), ilChangeEvent\_recordReadEvent(), getCenterColumnHTML(), getContainerObject(), getRightColumnHTML(), ilGlobalTemplateInterface\setContent(), and ilGlobalTemplateInterface\setRightContent().
Here is the call graph for this function:
|
protected |
Definition at line 45 of file class.ilContainerContentGUI.php.
Referenced by ilContainerByTypeContentGUI\getMainContent(), and ilContainerObjectiveGUI\getMainContent().
| bool ilContainerContentGUI::$adminCommands = false |
Definition at line 54 of file class.ilContainerContentGUI.php.
|
protected |
Definition at line 64 of file class.ilContainerContentGUI.php.
|
protected |
Definition at line 61 of file class.ilContainerContentGUI.php.
| ilContainerGUI ilContainerContentGUI::$container_gui |
Definition at line 52 of file class.ilContainerContentGUI.php.
Referenced by getContainerGUI().
| ilContainer ilContainerContentGUI::$container_obj |
Definition at line 53 of file class.ilContainerContentGUI.php.
Referenced by getContainerObject().
|
protected |
Definition at line 42 of file class.ilContainerContentGUI.php.
Referenced by forwardToColumnGUI(), getCenterColumnHTML(), ilContainerObjectiveGUI\getMainContent(), getRightColumnHTML(), and setOutput().
|
protected |
Definition at line 46 of file class.ilContainerContentGUI.php.
Referenced by getCenterColumnHTML().
|
protected |
Definition at line 50 of file class.ilContainerContentGUI.php.
Referenced by getDetailsLevel().
|
protected |
Definition at line 57 of file class.ilContainerContentGUI.php.
|
protected |
Definition at line 63 of file class.ilContainerContentGUI.php.
|
protected |
Definition at line 58 of file class.ilContainerContentGUI.php.
|
protected |
Definition at line 60 of file class.ilContainerContentGUI.php.
|
protected |
Definition at line 44 of file class.ilContainerContentGUI.php.
Referenced by ilContainerObjectiveGUI\__construct(), ilContainerSessionsContentGUI\__construct(), ilContainerObjectiveGUI\getMainContent(), ilContainerSessionsContentGUI\showMaterials(), ilContainerObjectiveGUI\showObjectives(), and ilContainerObjectiveGUI\showStatus().
|
protected |
Definition at line 55 of file class.ilContainerContentGUI.php.
|
protected |
Definition at line 49 of file class.ilContainerContentGUI.php.
|
protected |
Definition at line 47 of file class.ilContainerContentGUI.php.
Referenced by determineAdminCommands().
|
protected |
Definition at line 51 of file class.ilContainerContentGUI.php.
|
protected |
Definition at line 62 of file class.ilContainerContentGUI.php.
|
protected |
Definition at line 48 of file class.ilContainerContentGUI.php.
Referenced by ilContainerObjectiveGUI\showObjectives().
|
protected |
Definition at line 41 of file class.ilContainerContentGUI.php.
Referenced by getCenterColumnHTML(), ilContainerByTypeContentGUI\getMainContent(), ilContainerObjectiveGUI\getMainContent(), ilContainerSessionsContentGUI\getMainContent(), ilContainerSimpleContentGUI\getMainContent(), setOutput(), and ilContainerObjectiveGUI\showObjectives().
|
protected |
Definition at line 43 of file class.ilContainerContentGUI.php.
Referenced by ilContainerObjectiveGUI\getMainContent(), setOutput(), and ilContainerObjectiveGUI\showStatus().
|
protected |
Definition at line 56 of file class.ilContainerContentGUI.php.
Referenced by getViewMode().
| const ilContainerContentGUI::DETAILS_ALL = 2 |
Definition at line 36 of file class.ilContainerContentGUI.php.
Referenced by ilContainerByTypeContentGUI\getDetailsLevel(), ilContainerObjectiveGUI\getDetailsLevel(), and ilContainerSessionsContentGUI\getDetailsLevel().
| const ilContainerContentGUI::DETAILS_DEACTIVATED = 0 |
Definition at line 34 of file class.ilContainerContentGUI.php.
Referenced by ilContainerByTypeContentGUI\getDetailsLevel(), and ilContainerSessionsContentGUI\getDetailsLevel().
| const ilContainerContentGUI::DETAILS_TITLE = 1 |
Definition at line 35 of file class.ilContainerContentGUI.php.
Referenced by ilContainerByTypeContentGUI\getDetailsLevel(), and ilContainerSessionsContentGUI\getDetailsLevel().
| const ilContainerContentGUI::VIEW_MODE_LIST = 0 |
Definition at line 38 of file class.ilContainerContentGUI.php.
Referenced by ilContainerRenderer\renderHelperGeneric().
| const ilContainerContentGUI::VIEW_MODE_TILE = 1 |
Definition at line 39 of file class.ilContainerContentGUI.php.
Referenced by ilContainerRenderer\renderHelperGeneric().