ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Parent class of all container content GUIs. More...
Public Member Functions | |
__construct (&$container_gui_obj) | |
Constructor. More... | |
getContainerObject () | |
Get container object. More... | |
getContainerGUI () | |
Get container GUI object. More... | |
setOutput () | |
Sets view output into column layout. More... | |
getMainContent () | |
Get content HTML for main column, this one must be overwritten in derived classes. More... | |
determinePageEmbeddedBlocks ($a_container_page_html) | |
Determine all blocks that are embedded in the container page. More... | |
addEmbeddedBlock ($block_type, $block_parameter) | |
Add embedded block. More... | |
getEmbeddedBlocks () | |
Get page embedded blocks. More... | |
renderPageEmbeddedBlocks () | |
Render Page Embedded Blocks. More... | |
renderItem ($a_item_data, $a_position=0, $a_force_icon=false, $a_pos_prefix="") | |
Render an item. More... | |
renderCard ($a_item_data, $a_position=0, $a_force_icon=false, $a_pos_prefix="") | |
Render card. More... | |
insertPageEmbeddedBlocks ($a_output_html) | |
Insert blocks into container page. More... | |
getSingleTypeBlockAsynch ($type) | |
Render single block. More... | |
getGroupedObjTypes () | |
Get grouped repository object types. More... | |
getIntroduction () | |
Get introduction. More... | |
getItemGroupsHTML ($a_pos=0) | |
Get item groups HTML. More... | |
renderItemGroup ($a_itgr) | |
Render item group. More... | |
Data Fields | |
const | DETAILS_DEACTIVATED = 0 |
const | DETAILS_TITLE = 1 |
const | DETAILS_ALL = 2 |
const | VIEW_MODE_LIST = 0 |
const | VIEW_MODE_TILE = 1 |
$container_gui | |
$container_obj | |
Protected Member Functions | |
getViewMode () | |
Get view mode. More... | |
getDetailsLevel ($a_item_id) | |
get details level More... | |
getRightColumnHTML () | |
Get HTML for right column. More... | |
getCenterColumnHTML () | |
Get HTML for center column. More... | |
initRenderer () | |
Init container renderer. More... | |
clearAdminCommandsDetermination () | |
cleaer administration commands determination More... | |
determineAdminCommands ($a_ref_id, $a_admin_com_included_in_list=false) | |
determin admin commands More... | |
getItemGUI ($item_data, $a_show_path=false) | |
Get ListGUI object for item. More... | |
Protected Attributes | |
$tpl | |
$ctrl | |
$user | |
$lng | |
$access | |
$plugin_admin | |
$db | |
$rbacsystem | |
$settings | |
$obj_definition | |
$details_level = self::DETAILS_DEACTIVATED | |
$renderer | |
$log | |
$view_mode | |
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 16 of file class.ilContainerContentGUI.php.
ilContainerContentGUI::__construct | ( | & | $container_gui_obj | ) |
Constructor.
Definition at line 99 of file class.ilContainerContentGUI.php.
References $DIC, $tpl, ilContainer\_lookupContainerSetting(), ilLoggerFactory\getLogger(), settings(), and user().
|
finalprivate |
Get columngui output.
Definition at line 331 of file class.ilContainerContentGUI.php.
References $access, $ctrl, $html, $ilCtrl, ilObject\_lookupObjId(), ilObject\_lookupType(), ilColumnGUI\getCmdSide(), getContainerGUI(), getContainerObject(), getMainContent(), ilColumnGUI\getScreenMode(), IL_COL_LEFT, IL_COL_RIGHT, and IL_SCREEN_SIDE.
Referenced by getCenterColumnHTML().
ilContainerContentGUI::addEmbeddedBlock | ( | $block_type, | |
$block_parameter | |||
) |
Add embedded block.
Definition at line 468 of file class.ilContainerContentGUI.php.
Referenced by determinePageEmbeddedBlocks().
|
protected |
cleaer administration commands determination
Definition at line 370 of file class.ilContainerContentGUI.php.
Referenced by ilContainerSimpleContentGUI\__showMaterials(), ilContainerSessionsContentGUI\__showMaterials(), ilContainerByTypeContentGUI\renderItemList(), ilContainerObjectiveGUI\showMaterials(), and ilContainerObjectiveGUI\showObjectives().
|
protected |
determin admin commands
Definition at line 378 of file class.ilContainerContentGUI.php.
References $rbacsystem, and getContainerGUI().
Referenced by renderItem().
ilContainerContentGUI::determinePageEmbeddedBlocks | ( | $a_container_page_html | ) |
Determine all blocks that are embedded in the container page.
Definition at line 443 of file class.ilContainerContentGUI.php.
References $html, $type, addEmbeddedBlock(), and getGroupedObjTypes().
Referenced by insertPageEmbeddedBlocks().
|
protected |
Get HTML for center column.
Definition at line 266 of file class.ilContainerContentGUI.php.
References $ctrl, $db, $html, $ilCtrl, $ilDB, $tpl, __forwardToColumnGUI(), and getMainContent().
Referenced by setOutput().
ilContainerContentGUI::getContainerGUI | ( | ) |
Get container GUI object.
Definition at line 165 of file class.ilContainerContentGUI.php.
References $container_gui.
Referenced by __forwardToColumnGUI(), ilContainerSimpleContentGUI\__showMaterials(), ilContainerSessionsContentGUI\__showMaterials(), ilContainerObjectiveGUI\addItemDetails(), determineAdminCommands(), ilContainerSessionsContentGUI\getDetailsLevel(), ilContainerByTypeContentGUI\getDetailsLevel(), ilContainerSimpleContentGUI\getDetailsLevel(), getItemGUI(), ilContainerByTypeContentGUI\getMainContent(), ilContainerObjectiveGUI\getMainContent(), getRightColumnHTML(), getSingleTypeBlockAsynch(), initRenderer(), renderItem(), renderItemGroup(), ilContainerByTypeContentGUI\renderItemList(), ilContainerObjectiveGUI\renderObjective(), ilContainerSessionsContentGUI\renderSessionLimitLink(), and ilContainerObjectiveGUI\showObjectives().
ilContainerContentGUI::getContainerObject | ( | ) |
Get container object.
Definition at line 155 of file class.ilContainerContentGUI.php.
References $container_obj.
Referenced by __forwardToColumnGUI(), ilContainerSimpleContentGUI\__showMaterials(), ilContainerSessionsContentGUI\__showMaterials(), ilContainerObjectiveGUI\addItemDetails(), ilContainerObjectiveGUI\buildObjectiveMap(), getGroupedObjTypes(), ilContainerByTypeContentGUI\getMainContent(), ilContainerObjectiveGUI\getMainContent(), getRightColumnHTML(), getSingleTypeBlockAsynch(), ilContainerSimpleContentGUI\initDetails(), ilContainerByTypeContentGUI\initDetails(), ilContainerSessionsContentGUI\initDetails(), initRenderer(), ilContainerObjectiveGUI\initTestAssignments(), ilContainerObjectiveGUI\parseLOUserResults(), renderItem(), renderItemGroup(), ilContainerObjectiveGUI\renderObjective(), ilContainerSessionsContentGUI\renderSessionLimitLink(), setOutput(), ilContainerObjectiveGUI\showMaterials(), ilContainerObjectiveGUI\showObjectives(), and ilContainerObjectiveGUI\showStatus().
|
protected |
get details level
protected
Definition at line 145 of file class.ilContainerContentGUI.php.
References $details_level.
Referenced by renderItem().
ilContainerContentGUI::getEmbeddedBlocks | ( | ) |
Get page embedded blocks.
Definition at line 476 of file class.ilContainerContentGUI.php.
ilContainerContentGUI::getGroupedObjTypes | ( | ) |
Get grouped repository object types.
Definition at line 980 of file class.ilContainerContentGUI.php.
References $obj_definition, and getContainerObject().
Referenced by determinePageEmbeddedBlocks(), insertPageEmbeddedBlocks(), and ilContainerByTypeContentGUI\renderItemList().
ilContainerContentGUI::getIntroduction | ( | ) |
Get introduction.
Definition at line 994 of file class.ilContainerContentGUI.php.
References $ctrl, $ilCtrl, $ilUser, $lng, $tpl, and $user.
Referenced by ilContainerByTypeContentGUI\getMainContent().
ilContainerContentGUI::getItemGroupsHTML | ( | $a_pos = 0 | ) |
Get item groups HTML.
Definition at line 1021 of file class.ilContainerContentGUI.php.
References renderItemGroup().
Referenced by ilContainerSimpleContentGUI\__showMaterials(), ilContainerSessionsContentGUI\__showMaterials(), ilContainerByTypeContentGUI\renderItemList(), and ilContainerObjectiveGUI\showMaterials().
|
protected |
Get ListGUI object for item.
Definition at line 398 of file class.ilContainerContentGUI.php.
References ilObjectListGUIFactory\_getListGUIByType(), and getContainerGUI().
Referenced by renderCard(), renderItem(), renderItemGroup(), and ilContainerObjectiveGUI\renderObjective().
|
abstract |
Get content HTML for main column, this one must be overwritten in derived classes.
Referenced by __forwardToColumnGUI(), and getCenterColumnHTML().
|
protected |
Get HTML for right column.
Definition at line 216 of file class.ilContainerContentGUI.php.
References $access, $ctrl, $html, $ilCtrl, $ilUser, $lng, $plugin_admin, $user, ilObject\_lookupObjId(), ilObject\_lookupType(), getContainerGUI(), getContainerObject(), IL_COL_RIGHT, IL_SCREEN_FULL, and IL_SCREEN_SIDE.
Referenced by setOutput().
ilContainerContentGUI::getSingleTypeBlockAsynch | ( | $type | ) |
Render single block.
string | block id |
Definition at line 928 of file class.ilContainerContentGUI.php.
References $_POST, $html, $i, $type, getContainerGUI(), getContainerObject(), initRenderer(), and renderItem().
|
protected |
Get view mode.
Definition at line 132 of file class.ilContainerContentGUI.php.
References $view_mode.
Referenced by initRenderer(), and renderItem().
|
protected |
Init container renderer.
Definition at line 311 of file class.ilContainerContentGUI.php.
References $_SESSION, $container_gui, ilContainerSorting\_getInstance(), getContainerGUI(), getContainerObject(), and getViewMode().
Referenced by ilContainerSimpleContentGUI\__showMaterials(), ilContainerSessionsContentGUI\__showMaterials(), ilContainerObjectiveGUI\getMainContent(), getSingleTypeBlockAsynch(), and ilContainerByTypeContentGUI\renderItemList().
ilContainerContentGUI::insertPageEmbeddedBlocks | ( | $a_output_html | ) |
Insert blocks into container page.
Definition at line 891 of file class.ilContainerContentGUI.php.
References $type, determinePageEmbeddedBlocks(), getGroupedObjTypes(), and renderPageEmbeddedBlocks().
Referenced by ilContainerSimpleContentGUI\__showMaterials(), ilContainerSessionsContentGUI\__showMaterials(), ilContainerByTypeContentGUI\renderItemList(), and ilContainerObjectiveGUI\showObjectives().
ilContainerContentGUI::renderCard | ( | $a_item_data, | |
$a_position = 0 , |
|||
$a_force_icon = false , |
|||
$a_pos_prefix = "" |
|||
) |
Render card.
$a_item_data | ||
int | $a_position | |
bool | $a_force_icon | |
string | $a_pos_prefix |
Definition at line 721 of file class.ilContainerContentGUI.php.
References $access, $DIC, $f, $id, $img, $l, $path, $r, $title, $user, ilSessionAppointment\_appointmentToString(), ilLink\_getLink(), ilSessionAppointment\_lookupAppointment(), ilLPStatus\_lookupPercentage(), ilCommonActionDispatcherGUI\buildAjaxHash(), ilUtil\getImagePath(), getItemGUI(), ilLPStatus\getListGUIStatus(), ilLPStatus\LP_STATUS_COMPLETED_NUM, and ilCommonActionDispatcherGUI\TYPE_REPOSITORY.
Referenced by renderItem().
ilContainerContentGUI::renderItem | ( | $a_item_data, | |
$a_position = 0 , |
|||
$a_force_icon = false , |
|||
$a_pos_prefix = "" |
|||
) |
Render an item.
$a_item_data | ||
int | $a_position | |
bool | $a_force_icon | |
string | $a_pos_prefix |
Definition at line 537 of file class.ilContainerContentGUI.php.
References $_SESSION, $access, $ctrl, $html, $ilCtrl, $ilSetting, $settings, ilContainerSorting\_getInstance(), ilObjectActivation\addListGUIActivationProperty(), ilObjectListGUI\DETAILS_ALL, ilObjectListGUI\DETAILS_MINIMAL, determineAdminCommands(), ilContainer\getCompleteDescriptions(), getContainerGUI(), getContainerObject(), getDetailsLevel(), getItemGUI(), ilObjectActivation\getItemsByEvent(), getViewMode(), ilFolderDownloadBackgroundTaskHandler\initObjectListAction(), and renderCard().
Referenced by ilContainerSimpleContentGUI\__showMaterials(), ilContainerSessionsContentGUI\__showMaterials(), getSingleTypeBlockAsynch(), renderItemGroup(), ilContainerByTypeContentGUI\renderItemList(), renderPageEmbeddedBlocks(), ilContainerObjectiveGUI\renderTest(), and ilContainerObjectiveGUI\showMaterials().
ilContainerContentGUI::renderItemGroup | ( | $a_itgr | ) |
Render item group.
Definition at line 1041 of file class.ilContainerContentGUI.php.
References $access, $data, $html2, $ilUser, $user, ilContainerSorting\_getInstance(), ilItemGroupBehaviour\ALWAYS_OPEN, ilItemGroupBehaviour\EXPANDABLE_CLOSED, ilItemGroupBehaviour\EXPANDABLE_OPEN, ilContainer\getCompleteDescriptions(), getContainerGUI(), getContainerObject(), getItemGUI(), ilObjectActivation\getItemsByItemGroup(), ilContainerBlockPropertiesStorage\getProperty(), ilObjItemGroup\lookupBehaviour(), ilObjItemGroup\lookupHideTitle(), and renderItem().
Referenced by getItemGroupsHTML(), and renderPageEmbeddedBlocks().
ilContainerContentGUI::renderPageEmbeddedBlocks | ( | ) |
Render Page Embedded Blocks.
Definition at line 484 of file class.ilContainerContentGUI.php.
References $html, $lng, $type, renderItem(), renderItemGroup(), and ilUtil\sortArray().
Referenced by insertPageEmbeddedBlocks().
ilContainerContentGUI::setOutput | ( | ) |
Sets view output into column layout.
This method sets the output of the right and main column in the global standard template.
Definition at line 176 of file class.ilContainerContentGUI.php.
References $ctrl, $ilCtrl, $ilUser, $tpl, $user, ilObject\_lookupObjId(), ilChangeEvent\_recordReadEvent(), getCenterColumnHTML(), getContainerObject(), and getRightColumnHTML().
|
protected |
Definition at line 41 of file class.ilContainerContentGUI.php.
Referenced by __forwardToColumnGUI(), ilContainerSimpleContentGUI\__showMaterials(), ilContainerObjectiveGUI\getMainContent(), getRightColumnHTML(), renderCard(), renderItem(), renderItemGroup(), and ilContainerObjectiveGUI\showMaterials().
ilContainerContentGUI::$container_gui |
Definition at line 82 of file class.ilContainerContentGUI.php.
Referenced by getContainerGUI(), and initRenderer().
ilContainerContentGUI::$container_obj |
Definition at line 83 of file class.ilContainerContentGUI.php.
Referenced by getContainerObject().
|
protected |
Definition at line 26 of file class.ilContainerContentGUI.php.
Referenced by __forwardToColumnGUI(), ilContainerSessionsContentGUI\addFooterRow(), ilContainerObjectiveGUI\addItemDetails(), getCenterColumnHTML(), getIntroduction(), ilContainerObjectiveGUI\getMainContent(), getRightColumnHTML(), renderItem(), ilContainerSessionsContentGUI\renderSessionLimitLink(), setOutput(), and ilContainerObjectiveGUI\showButton().
|
protected |
Definition at line 51 of file class.ilContainerContentGUI.php.
Referenced by getCenterColumnHTML().
|
protected |
Definition at line 75 of file class.ilContainerContentGUI.php.
Referenced by getDetailsLevel().
|
protected |
Definition at line 36 of file class.ilContainerContentGUI.php.
Referenced by ilContainerSessionsContentGUI\__construct(), ilContainerObjectiveGUI\__construct(), ilContainerSimpleContentGUI\__showMaterials(), ilContainerSessionsContentGUI\__showMaterials(), ilContainerObjectiveGUI\addItemDetails(), ilContainerObjectiveGUI\buildObjectiveProgressBar(), getIntroduction(), ilContainerSimpleContentGUI\getMainContent(), ilContainerSessionsContentGUI\getMainContent(), ilContainerObjectiveGUI\getMainContent(), ilContainerObjectiveGUI\getObjectiveResultSummary(), getRightColumnHTML(), ilContainerObjectiveGUI\renderObjective(), renderPageEmbeddedBlocks(), ilContainerObjectiveGUI\renderProgressMeter(), ilContainerSessionsContentGUI\renderSessionLimitLink(), ilContainerObjectiveGUI\showMaterials(), ilContainerObjectiveGUI\showObjectives(), and ilContainerObjectiveGUI\showStatus().
|
protected |
Definition at line 88 of file class.ilContainerContentGUI.php.
|
protected |
Definition at line 66 of file class.ilContainerContentGUI.php.
Referenced by getGroupedObjTypes().
|
protected |
Definition at line 46 of file class.ilContainerContentGUI.php.
Referenced by getRightColumnHTML().
|
protected |
Definition at line 56 of file class.ilContainerContentGUI.php.
Referenced by determineAdminCommands().
|
protected |
Definition at line 80 of file class.ilContainerContentGUI.php.
Referenced by ilContainerObjectiveGUI\buildAccordionTitle().
|
protected |
Definition at line 61 of file class.ilContainerContentGUI.php.
Referenced by renderItem(), and ilContainerObjectiveGUI\showObjectives().
|
protected |
Definition at line 21 of file class.ilContainerContentGUI.php.
Referenced by __construct(), ilContainerSessionsContentGUI\addFooterRow(), ilContainerObjectiveGUI\buildAccordionContent(), ilContainerObjectiveGUI\buildAccordionTitle(), getCenterColumnHTML(), getIntroduction(), ilContainerSimpleContentGUI\getMainContent(), ilContainerSessionsContentGUI\getMainContent(), ilContainerByTypeContentGUI\getMainContent(), ilContainerObjectiveGUI\getMainContent(), ilContainerObjectiveGUI\renderProgressBar(), ilContainerObjectiveGUI\renderProgressMeter(), ilContainerSessionsContentGUI\renderSessionLimitLink(), setOutput(), and ilContainerObjectiveGUI\showObjectives().
|
protected |
Definition at line 31 of file class.ilContainerContentGUI.php.
Referenced by ilContainerObjectiveGUI\addItemDetails(), getIntroduction(), ilContainerObjectiveGUI\getMainContent(), getRightColumnHTML(), ilContainerSimpleContentGUI\initDetails(), ilContainerSessionsContentGUI\initDetails(), ilContainerObjectiveGUI\initDetails(), ilContainerObjectiveGUI\parseLOUserResults(), renderCard(), renderItemGroup(), ilContainerObjectiveGUI\renderObjective(), ilContainerSessionsContentGUI\renderSessionLimitLink(), setOutput(), and ilContainerObjectiveGUI\showStatus().
|
protected |
Definition at line 93 of file class.ilContainerContentGUI.php.
Referenced by getViewMode().
const ilContainerContentGUI::DETAILS_ALL = 2 |
Definition at line 70 of file class.ilContainerContentGUI.php.
const ilContainerContentGUI::DETAILS_DEACTIVATED = 0 |
Definition at line 68 of file class.ilContainerContentGUI.php.
const ilContainerContentGUI::DETAILS_TITLE = 1 |
Definition at line 69 of file class.ilContainerContentGUI.php.
const ilContainerContentGUI::VIEW_MODE_LIST = 0 |
Definition at line 72 of file class.ilContainerContentGUI.php.
Referenced by ilContainerRenderer\renderHelperGeneric().
const ilContainerContentGUI::VIEW_MODE_TILE = 1 |
Definition at line 73 of file class.ilContainerContentGUI.php.
Referenced by ilContainerRenderer\renderHelperGeneric().