ILIAS
trunk Revision v11.0_alpha-1769-g99a433fe2dc
|
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 may 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 |
Protected Member Functions | |
getViewMode () | |
getRightColumnHTML () | |
getCenterColumnHTML () | |
initRenderer () | |
Init container renderer. More... | |
getItemGUI (array $item_data) | |
hasForcedOrderByStartDate (string $type) | |
getUniqueItemId (array $a_item_data) | |
Protected Attributes | |
ILIAS Container Content ItemPresentationManager | $item_presentation |
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 |
int | $block_limit = 0 |
array | $type_grps = [] |
int | $force_details |
ilContainerUserFilter | $container_user_filter |
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 425 of file class.ilContainerContentGUI.php.
Referenced by determinePageEmbeddedBlocks().
ilContainerContentGUI::determinePageEmbeddedBlocks | ( | string | $a_container_page_html | ) |
Determine all blocks that are embedded in the container page.
Definition at line 398 of file class.ilContainerContentGUI.php.
References addEmbeddedBlock(), and getGroupedObjTypes().
Referenced by insertPageEmbeddedBlocks().
|
private |
Get columngui output.
Definition at line 321 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 228 of file class.ilContainerContentGUI.php.
References $ctrl, $db, $ilDB, $tpl, ILIAS\UICore\GlobalTemplate\addOnLoadCode(), forwardToColumnGUI(), and getMainContent().
Referenced by setOutput().
ilContainerContentGUI::getContainerGUI | ( | ) |
Definition at line 139 of file class.ilContainerContentGUI.php.
References $container_gui.
Referenced by forwardToColumnGUI(), getItemGUI(), getRightColumnHTML(), getSingleTypeBlockAsynch(), initRenderer(), renderItem(), renderItemGroup(), and ilContainerSessionsContentGUI\renderSessionLimitLink().
ilContainerContentGUI::getContainerObject | ( | ) |
Definition at line 134 of file class.ilContainerContentGUI.php.
References $container_obj.
Referenced by forwardToColumnGUI(), getGroupedObjTypes(), getMainContent(), getRightColumnHTML(), getSingleTypeBlockAsynch(), initRenderer(), renderItem(), renderItemGroup(), ilContainerSessionsContentGUI\renderSessionLimitLink(), and setOutput().
ilContainerContentGUI::getEmbeddedBlocks | ( | ) |
Definition at line 432 of file class.ilContainerContentGUI.php.
References $embedded_block.
ilContainerContentGUI::getGroupedObjTypes | ( | ) |
Get grouped repository object types.
Definition at line 763 of file class.ilContainerContentGUI.php.
References $obj_definition, $type_grps, and getContainerObject().
Referenced by determinePageEmbeddedBlocks(), and insertPageEmbeddedBlocks().
ilContainerContentGUI::getIntroduction | ( | ) |
Definition at line 774 of file class.ilContainerContentGUI.php.
References $lng, ilObject\_getIcon(), ILIAS\UICore\GlobalTemplate\get(), ilLanguage\loadLanguageModule(), ILIAS\UICore\GlobalTemplate\setVariable(), and ilLanguage\txt().
Referenced by getMainContent().
ilContainerContentGUI::getItemGroupsHTML | ( | int | $a_pos = 0 | ) |
Definition at line 793 of file class.ilContainerContentGUI.php.
References renderer(), and renderItemGroup().
|
protected |
Definition at line 354 of file class.ilContainerContentGUI.php.
References ilObjectListGUIFactory\_getListGUIByType(), and getContainerGUI().
Referenced by getUniqueItemId(), renderCard(), renderItem(), and renderItemGroup().
ilContainerContentGUI::getMainContent | ( | ) |
Get content HTML for main column, this one may be overwritten in derived classes.
Definition at line 268 of file class.ilContainerContentGUI.php.
References $access, ILIAS\UICore\GlobalTemplate\get(), getContainerObject(), getIntroduction(), ROOT_FOLDER_ID, and ILIAS\UICore\GlobalTemplate\setVariable().
Referenced by forwardToColumnGUI(), and getCenterColumnHTML().
|
protected |
Definition at line 186 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 712 of file class.ilContainerContentGUI.php.
References getContainerGUI(), getContainerObject(), initRenderer(), renderer(), and renderItem().
|
protected |
Definition at line 483 of file class.ilContainerContentGUI.php.
References getItemGUI().
|
protected |
Definition at line 128 of file class.ilContainerContentGUI.php.
References $view_mode.
Referenced by ilContainerGUI\getContentGUI(), initRenderer(), and renderItem().
|
protected |
Definition at line 478 of file class.ilContainerContentGUI.php.
Referenced by renderItem(), and renderPageEmbeddedBlocks().
|
protected |
Init container renderer.
Definition at line 294 of file class.ilContainerContentGUI.php.
References $container_gui, ilContainerSorting\_getInstance(), ilEventItems\_getItemsOfContainer(), getContainerGUI(), getContainerObject(), ILIAS\Survey\Mode\getId(), getViewMode(), and renderer().
Referenced by getSingleTypeBlockAsynch(), ilContainerSimpleContentGUI\renderItemList(), and ilContainerByTypeContentGUI\renderItemList().
ilContainerContentGUI::insertPageEmbeddedBlocks | ( | string | $a_output_html | ) |
Insert blocks into container page.
Definition at line 678 of file class.ilContainerContentGUI.php.
References determinePageEmbeddedBlocks(), getGroupedObjTypes(), ILIAS\Repository\int(), renderer(), and renderPageEmbeddedBlocks().
ilContainerContentGUI::renderCard | ( | array | $a_item_data, |
int | $a_position = 0 , |
||
bool | $a_force_icon = false , |
||
string | $a_pos_prefix = "" |
||
) |
Definition at line 645 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 493 of file class.ilContainerContentGUI.php.
References $access, $ctrl, $ilSetting, $settings, ilContainerSorting\_getInstance(), ilObjectActivation\addListGUIActivationProperty(), ilObjectListGUI\DETAILS_ALL, ilObjectListGUI\DETAILS_MINIMAL, ilContainer\getCompleteDescriptions(), getContainerGUI(), getContainerObject(), ILIAS\Survey\Mode\getId(), getItemGUI(), ilObjectActivation\getItemsByEvent(), getViewMode(), hasForcedOrderByStartDate(), and renderCard().
Referenced by getSingleTypeBlockAsynch(), renderItemGroup(), and renderPageEmbeddedBlocks().
ilContainerContentGUI::renderItemGroup | ( | array | $a_itgr | ) |
Definition at line 807 of file class.ilContainerContentGUI.php.
References $access, $data, $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(), renderer(), and renderItem().
Referenced by getItemGroupsHTML(), and renderPageEmbeddedBlocks().
ilContainerContentGUI::renderPageEmbeddedBlocks | ( | ) |
Definition at line 437 of file class.ilContainerContentGUI.php.
References $ref_id, hasForcedOrderByStartDate(), renderer(), 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 148 of file class.ilContainerContentGUI.php.
References $ctrl, $tpl, $user, ilObject\_lookupObjId(), ilChangeEvent\_recordReadEvent(), getCenterColumnHTML(), getContainerObject(), getRightColumnHTML(), ILIAS\UICore\GlobalTemplate\setContent(), and ILIAS\UICore\GlobalTemplate\setRightContent().
|
protected |
Definition at line 46 of file class.ilContainerContentGUI.php.
Referenced by getMainContent(), ilContainerSessionsContentGUI\initSessionPresentationLimitation(), renderItem(), and renderItemGroup().
|
protected |
Definition at line 65 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 53 of file class.ilContainerContentGUI.php.
Referenced by getContainerGUI(), and initRenderer().
ilContainer ilContainerContentGUI::$container_obj |
Definition at line 54 of file class.ilContainerContentGUI.php.
Referenced by getContainerObject(), and ilContainerSessionsContentGUI\initSessionPresentationLimitation().
|
protected |
Definition at line 68 of file class.ilContainerContentGUI.php.
|
protected |
Definition at line 43 of file class.ilContainerContentGUI.php.
Referenced by forwardToColumnGUI(), getCenterColumnHTML(), getRightColumnHTML(), renderItem(), ilContainerSessionsContentGUI\renderSessionLimitLink(), and setOutput().
|
protected |
Definition at line 47 of file class.ilContainerContentGUI.php.
Referenced by getCenterColumnHTML().
|
protected |
Definition at line 51 of file class.ilContainerContentGUI.php.
|
protected |
Definition at line 57 of file class.ilContainerContentGUI.php.
Referenced by getEmbeddedBlocks().
|
protected |
Definition at line 67 of file class.ilContainerContentGUI.php.
|
protected |
Definition at line 63 of file class.ilContainerContentGUI.php.
|
protected |
Definition at line 40 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 45 of file class.ilContainerContentGUI.php.
Referenced by getIntroduction(), and ilContainerSessionsContentGUI\renderSessionLimitLink().
|
protected |
Definition at line 55 of file class.ilContainerContentGUI.php.
|
protected |
Definition at line 50 of file class.ilContainerContentGUI.php.
Referenced by getGroupedObjTypes().
|
protected |
Definition at line 48 of file class.ilContainerContentGUI.php.
|
protected |
Definition at line 52 of file class.ilContainerContentGUI.php.
|
protected |
Definition at line 62 of file class.ilContainerContentGUI.php.
Referenced by ilContainerSessionsContentGUI\initSessionPresentationLimitation().
|
protected |
Definition at line 49 of file class.ilContainerContentGUI.php.
Referenced by renderItem().
|
protected |
Definition at line 42 of file class.ilContainerContentGUI.php.
Referenced by getCenterColumnHTML(), ilContainerSessionsContentGUI\renderSessionLimitLink(), and setOutput().
|
protected |
Definition at line 66 of file class.ilContainerContentGUI.php.
Referenced by getGroupedObjTypes().
|
protected |
Definition at line 44 of file class.ilContainerContentGUI.php.
Referenced by ilContainerSessionsContentGUI\initSessionPresentationLimitation(), 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.
Referenced by ILIAS\UI\Component\Legacy\Content\ItemManager\handleSessionExpand().
const ilContainerContentGUI::DETAILS_DEACTIVATED = 0 |
Definition at line 34 of file class.ilContainerContentGUI.php.
Referenced by ilContainerRenderer\getDetailsLevel().
const ilContainerContentGUI::DETAILS_TITLE = 1 |
Definition at line 35 of file class.ilContainerContentGUI.php.
Referenced by ilContainerRenderer\getDetailsLevel(), ILIAS\UI\Component\Legacy\Content\ItemManager\handleSessionExpand(), and ILIAS\Containter\Content\ItemRenderer\renderItem().
const ilContainerContentGUI::VIEW_MODE_LIST = 0 |
Definition at line 38 of file class.ilContainerContentGUI.php.
Referenced by ilContainerRenderer\getViewModeOfItemGroup(), ilContainerRenderer\renderHelperGeneric(), and ILIAS\Containter\Content\ItemRenderer\renderItem().
const ilContainerContentGUI::VIEW_MODE_TILE = 1 |
Definition at line 39 of file class.ilContainerContentGUI.php.
Referenced by ilContainerRenderer\getViewModeOfItemGroup(), ilContainerRenderer\renderHelperGeneric(), and ILIAS\Containter\Content\ItemRenderer\renderItem().