ILIAS
trunk Revision v11.0_alpha-3011-gc6b235a2e85
|
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().
|
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(), ilContainerObjectiveGUI\getMainContent(), getRightColumnHTML(), initRenderer(), and ilContainerObjectiveGUI\showObjectives().
ilContainerContentGUI::getContainerObject | ( | ) |
Definition at line 134 of file class.ilContainerContentGUI.php.
References $container_obj.
Referenced by forwardToColumnGUI(), ilContainerObjectiveGUI\getMainContent(), getRightColumnHTML(), initRenderer(), ilContainerObjectiveGUI\initRenderer(), setOutput(), and ilContainerObjectiveGUI\showObjectives().
ilContainerContentGUI::getEmbeddedBlocks | ( | ) |
Definition at line 432 of file class.ilContainerContentGUI.php.
ilContainerContentGUI::getGroupedObjTypes | ( | ) |
Get grouped repository object types.
Definition at line 763 of file class.ilContainerContentGUI.php.
ilContainerContentGUI::getIntroduction | ( | ) |
Definition at line 774 of file class.ilContainerContentGUI.php.
References $lng, ilObject\_getIcon(), ILIAS\UICore\GlobalTemplate\get(), and ILIAS\UICore\GlobalTemplate\setVariable().
Referenced by getMainContent().
ilContainerContentGUI::getItemGroupsHTML | ( | int | $a_pos = 0 | ) |
Definition at line 793 of file class.ilContainerContentGUI.php.
References renderer().
|
protected |
Definition at line 354 of file class.ilContainerContentGUI.php.
References ilObjectListGUIFactory\_getListGUIByType(), and getContainerGUI().
ilContainerContentGUI::getMainContent | ( | ) |
Get content HTML for main column, this one may be overwritten in derived classes.
Reimplemented in ilContainerObjectiveGUI.
Definition at line 268 of file class.ilContainerContentGUI.php.
References $access, $tpl, ILIAS\UICore\GlobalTemplate\get(), 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 $counter, and renderer().
|
protected |
Definition at line 483 of file class.ilContainerContentGUI.php.
|
protected |
Definition at line 128 of file class.ilContainerContentGUI.php.
References $view_mode.
Referenced by ilContainerGUI\getContentGUI().
|
protected |
Definition at line 478 of file class.ilContainerContentGUI.php.
|
protected |
Init container renderer.
Reimplemented in ilContainerObjectiveGUI, and ilContainerSessionsContentGUI.
Definition at line 294 of file class.ilContainerContentGUI.php.
References ilContainerSorting\_getInstance(), ilEventItems\_getItemsOfContainer(), getContainerGUI(), getContainerObject(), ILIAS\Survey\Mode\getId(), and renderer().
Referenced by ilContainerByTypeContentGUI\renderItemList(), and ilContainerSimpleContentGUI\renderItemList().
ilContainerContentGUI::insertPageEmbeddedBlocks | ( | string | $a_output_html | ) |
Insert blocks into container page.
Definition at line 678 of file class.ilContainerContentGUI.php.
References ILIAS\Repository\int(), and renderer().
Referenced by ilContainerObjectiveGUI\showObjectives().
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.
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 $ilSetting, ilContainerSorting\_getInstance(), ilObjectActivation\addListGUIActivationProperty(), ilObjectListGUI\DETAILS_ALL, ilObjectListGUI\DETAILS_MINIMAL, ilContainer\getCompleteDescriptions(), ILIAS\Survey\Mode\getId(), and ilObjectActivation\getItemsByEvent().
ilContainerContentGUI::renderItemGroup | ( | array | $a_itgr | ) |
Definition at line 807 of file class.ilContainerContentGUI.php.
References $data, ilContainerSorting\_getInstance(), ilItemGroupBehaviour\ALWAYS_OPEN, ilItemGroupBehaviour\EXPANDABLE_CLOSED, ilItemGroupBehaviour\EXPANDABLE_OPEN, ilContainer\getCompleteDescriptions(), ILIAS\Survey\Mode\getId(), ilObjectActivation\getItemsByItemGroup(), ilObjItemGroup\lookupHideTitle(), and renderer().
ilContainerContentGUI::renderPageEmbeddedBlocks | ( | ) |
Definition at line 437 of file class.ilContainerContentGUI.php.
References $ref_id, renderer(), and ilArrayUtil\sortArray().
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(), and ilContainerObjectiveGUI\getMainContent().
|
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().
ilContainer ilContainerContentGUI::$container_obj |
Definition at line 54 of file class.ilContainerContentGUI.php.
Referenced by getContainerObject().
|
protected |
Definition at line 68 of file class.ilContainerContentGUI.php.
|
protected |
Definition at line 43 of file class.ilContainerContentGUI.php.
Referenced by forwardToColumnGUI(), getCenterColumnHTML(), ilContainerObjectiveGUI\getMainContent(), getRightColumnHTML(), 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.
|
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.
Referenced by ilContainerObjectiveGUI\__construct().
|
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 ilContainerObjectiveGUI\getMainContent(), and ilContainerObjectiveGUI\showObjectives().
|
protected |
Definition at line 55 of file class.ilContainerContentGUI.php.
|
protected |
Definition at line 50 of file class.ilContainerContentGUI.php.
|
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.
|
protected |
Definition at line 49 of file class.ilContainerContentGUI.php.
Referenced by ilContainerObjectiveGUI\showObjectives().
|
protected |
Definition at line 42 of file class.ilContainerContentGUI.php.
Referenced by getCenterColumnHTML(), getMainContent(), ilContainerObjectiveGUI\getMainContent(), setOutput(), and ilContainerObjectiveGUI\showObjectives().
|
protected |
Definition at line 66 of file class.ilContainerContentGUI.php.
|
protected |
Definition at line 44 of file class.ilContainerContentGUI.php.
Referenced by ilContainerObjectiveGUI\getMainContent(), 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 ilContainerObjectiveGUI\getDetailsLevel(), and ILIAS\Container\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\Container\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().