ILIAS
release_8 Revision v8.23
|
Parent class of all container content GUIs. More...
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.
Referenced by determinePageEmbeddedBlocks().
|
protected |
Definition at line 327 of file class.ilContainerContentGUI.php.
Referenced by ilContainerByTypeContentGUI\renderItemList(), ilContainerSimpleContentGUI\showMaterials(), and ilContainerSessionsContentGUI\showMaterials().
|
protected |
Definition at line 332 of file class.ilContainerContentGUI.php.
References $rbacsystem, ilRbacSystem\checkAccess(), and getContainerGUI().
Referenced by renderItem().
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, addEmbeddedBlock(), and getGroupedObjTypes().
Referenced by insertPageEmbeddedBlocks().
|
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().
|
protected |
Definition at line 223 of file class.ilContainerContentGUI.php.
References $ctrl, $db, $ilDB, $tpl, ilGlobalTemplateInterface\addOnLoadCode(), forwardToColumnGUI(), and getMainContent().
Referenced by setOutput().
ilContainerContentGUI::getContainerGUI | ( | ) |
Definition at line 134 of file class.ilContainerContentGUI.php.
References $container_gui.
Referenced by determineAdminCommands(), forwardToColumnGUI(), ilContainerSessionsContentGUI\getDetailsLevel(), ilContainerByTypeContentGUI\getDetailsLevel(), ilContainerSimpleContentGUI\getDetailsLevel(), getItemGUI(), ilContainerByTypeContentGUI\getMainContent(), getRightColumnHTML(), getSingleTypeBlockAsynch(), initRenderer(), renderItem(), renderItemGroup(), ilContainerByTypeContentGUI\renderItemList(), ilContainerSessionsContentGUI\renderSessionLimitLink(), ilContainerSimpleContentGUI\showMaterials(), and ilContainerSessionsContentGUI\showMaterials().
ilContainerContentGUI::getContainerObject | ( | ) |
Definition at line 129 of file class.ilContainerContentGUI.php.
References $container_obj.
Referenced by forwardToColumnGUI(), getGroupedObjTypes(), ilContainerByTypeContentGUI\getMainContent(), getRightColumnHTML(), getSingleTypeBlockAsynch(), ilContainerSimpleContentGUI\initDetails(), ilContainerByTypeContentGUI\initDetails(), ilContainerSessionsContentGUI\initDetails(), initRenderer(), renderItem(), renderItemGroup(), ilContainerSessionsContentGUI\renderSessionLimitLink(), setOutput(), ilContainerSimpleContentGUI\showMaterials(), and ilContainerSessionsContentGUI\showMaterials().
|
protected |
Definition at line 124 of file class.ilContainerContentGUI.php.
References $details_level.
Referenced by renderItem().
ilContainerContentGUI::getEmbeddedBlocks | ( | ) |
Definition at line 427 of file class.ilContainerContentGUI.php.
References $embedded_block.
ilContainerContentGUI::getGroupedObjTypes | ( | ) |
Get grouped repository object types.
Definition at line 780 of file class.ilContainerContentGUI.php.
References $obj_definition, and getContainerObject().
Referenced by determinePageEmbeddedBlocks(), insertPageEmbeddedBlocks(), and ilContainerByTypeContentGUI\renderItemList().
ilContainerContentGUI::getIntroduction | ( | ) |
Definition at line 791 of file class.ilContainerContentGUI.php.
References $lng, ilObject\_getIcon(), ilGlobalTemplateInterface\get(), ilLanguage\loadLanguageModule(), ilGlobalTemplateInterface\setVariable(), and ilLanguage\txt().
Referenced by ilContainerByTypeContentGUI\getMainContent().
ilContainerContentGUI::getItemGroupsHTML | ( | int | $a_pos = 0 | ) |
Definition at line 810 of file class.ilContainerContentGUI.php.
References renderItemGroup().
Referenced by ilContainerByTypeContentGUI\renderItemList(), ilContainerSimpleContentGUI\showMaterials(), and ilContainerSessionsContentGUI\showMaterials().
|
protected |
Definition at line 349 of file class.ilContainerContentGUI.php.
References ilObjectListGUIFactory\_getListGUIByType(), and getContainerGUI().
Referenced by renderCard(), renderItem(), and renderItemGroup().
|
abstract |
Get content HTML for main column, this one must be overwritten in derived classes.
Referenced by forwardToColumnGUI(), and getCenterColumnHTML().
|
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().
ilContainerContentGUI::getSingleTypeBlockAsynch | ( | string | $type | ) |
Render single block.
Definition at line 730 of file class.ilContainerContentGUI.php.
References getContainerGUI(), getContainerObject(), initRenderer(), and renderItem().
|
protected |
Definition at line 119 of file class.ilContainerContentGUI.php.
References $view_mode.
Referenced by ilContainerGUI\getContentGUI(), initRenderer(), and renderItem().
|
protected |
Definition at line 921 of file class.ilContainerContentGUI.php.
Referenced by ilContainerSimpleContentGUI\initDetails(), ilContainerByTypeContentGUI\initDetails(), and ilContainerSessionsContentGUI\initDetails().
|
protected |
Definition at line 473 of file class.ilContainerContentGUI.php.
Referenced by renderItem(), and renderPageEmbeddedBlocks().
|
protected |
Init container renderer.
Definition at line 268 of file class.ilContainerContentGUI.php.
References $container_gui, ilContainerSorting\_getInstance(), ilEventItems\_getItemsOfContainer(), getContainerGUI(), getContainerObject(), ILIAS\Survey\Mode\getId(), and getViewMode().
Referenced by getSingleTypeBlockAsynch(), ilContainerByTypeContentGUI\renderItemList(), ilContainerSimpleContentGUI\showMaterials(), and ilContainerSessionsContentGUI\showMaterials().
ilContainerContentGUI::insertPageEmbeddedBlocks | ( | string | $a_output_html | ) |
Insert blocks into container page.
Definition at line 696 of file class.ilContainerContentGUI.php.
References $type, determinePageEmbeddedBlocks(), getGroupedObjTypes(), ILIAS\Repository\int(), and renderPageEmbeddedBlocks().
Referenced by ilContainerByTypeContentGUI\renderItemList(), ilContainerSimpleContentGUI\showMaterials(), and ilContainerSessionsContentGUI\showMaterials().
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.
References ilCommonActionDispatcherGUI\buildAjaxHash(), getItemGUI(), and ilCommonActionDispatcherGUI\TYPE_REPOSITORY.
Referenced by renderItem().
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 $access, $ctrl, $ilSetting, $settings, ilContainerSorting\_getInstance(), ilObjectActivation\addListGUIActivationProperty(), ilObjectListGUI\DETAILS_ALL, ilObjectListGUI\DETAILS_MINIMAL, determineAdminCommands(), ilContainer\getCompleteDescriptions(), getContainerGUI(), getContainerObject(), getDetailsLevel(), ILIAS\Survey\Mode\getId(), getItemGUI(), ilObjectActivation\getItemsByEvent(), getViewMode(), hasForcedOrderByStartDate(), and renderCard().
Referenced by getSingleTypeBlockAsynch(), renderItemGroup(), ilContainerByTypeContentGUI\renderItemList(), renderPageEmbeddedBlocks(), ilContainerSimpleContentGUI\showMaterials(), and ilContainerSessionsContentGUI\showMaterials().
ilContainerContentGUI::renderItemGroup | ( | array | $a_itgr | ) |
Definition at line 824 of file class.ilContainerContentGUI.php.
References $access, $data, $i, $ilUser, $user, ilContainerSorting\_getInstance(), ilItemGroupBehaviour\ALWAYS_OPEN, ilItemGroupBehaviour\EXPANDABLE_CLOSED, ilItemGroupBehaviour\EXPANDABLE_OPEN, ilContainer\getCompleteDescriptions(), getContainerGUI(), getContainerObject(), ILIAS\Survey\Mode\getId(), getItemGUI(), ilObjectActivation\getItemsByItemGroup(), ilObjItemGroup\lookupHideTitle(), and renderItem().
Referenced by getItemGroupsHTML(), and renderPageEmbeddedBlocks().
ilContainerContentGUI::renderPageEmbeddedBlocks | ( | ) |
Definition at line 432 of file class.ilContainerContentGUI.php.
References $ref_id, $type, hasForcedOrderByStartDate(), renderItem(), renderItemGroup(), and ilArrayUtil\sortArray().
Referenced by insertPageEmbeddedBlocks().
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().
|
protected |
Definition at line 45 of file class.ilContainerContentGUI.php.
Referenced by ilContainerByTypeContentGUI\getMainContent(), ilContainerSessionsContentGUI\initDetails(), renderItem(), and renderItemGroup().
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(), and initRenderer().
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 ilContainerSessionsContentGUI\addFooterRow(), forwardToColumnGUI(), getCenterColumnHTML(), getRightColumnHTML(), renderItem(), ilContainerSessionsContentGUI\renderSessionLimitLink(), 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.
Referenced by getEmbeddedBlocks().
|
protected |
Definition at line 63 of file class.ilContainerContentGUI.php.
|
protected |
Definition at line 58 of file class.ilContainerContentGUI.php.
Referenced by ilContainerSessionsContentGUI\initDetails().
|
protected |
Definition at line 60 of file class.ilContainerContentGUI.php.
|
protected |
|
protected |
Definition at line 55 of file class.ilContainerContentGUI.php.
|
protected |
Definition at line 49 of file class.ilContainerContentGUI.php.
Referenced by getGroupedObjTypes().
|
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.
Referenced by ilContainerSessionsContentGUI\initDetails().
|
protected |
Definition at line 48 of file class.ilContainerContentGUI.php.
Referenced by renderItem().
|
protected |
Definition at line 41 of file class.ilContainerContentGUI.php.
Referenced by getCenterColumnHTML(), ilContainerSimpleContentGUI\getMainContent(), ilContainerSessionsContentGUI\getMainContent(), ilContainerByTypeContentGUI\getMainContent(), ilContainerSessionsContentGUI\renderSessionLimitLink(), and setOutput().
|
protected |
Definition at line 43 of file class.ilContainerContentGUI.php.
Referenced by ilContainerSessionsContentGUI\initDetails(), renderItemGroup(), ilContainerSessionsContentGUI\renderSessionLimitLink(), and setOutput().
|
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.
const ilContainerContentGUI::DETAILS_DEACTIVATED = 0 |
Definition at line 34 of file class.ilContainerContentGUI.php.
const ilContainerContentGUI::DETAILS_TITLE = 1 |
Definition at line 35 of file class.ilContainerContentGUI.php.
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().