|
ILIAS
release_4-4 Revision
|
Parent class of all container content GUIs. More...
Inheritance diagram for ilContainerContentGUI:
Collaboration diagram for ilContainerContentGUI: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... | |
| newBlockTemplate () | |
| returns a new list block template More... | |
| addStandardRow (&$a_tpl, $a_html, $a_ref_id=0) | |
| add item row to template More... | |
| addHeaderRow ($a_tpl, $a_type="", $a_text="") | |
| Add header row to block template. More... | |
| resetRowType () | |
| Reset row type (toggling background colors) More... | |
| insertPageEmbeddedBlocks ($a_output_html) | |
| Insert blocks into container page. More... | |
| addMessageRow (&$a_tpl, $a_message, $a_type) | |
| add message row More... | |
| addSeparatorRow (&$a_tpl) | |
| Add separator row between two blocks. More... | |
| getGroupedObjTypes () | |
| Get grouped repository object types. More... | |
| getIntroduction () | |
| Get introduction. More... | |
| getItemGroupsHTML ($a_tpl) | |
| Get item groups HTML. More... | |
| renderItemGroup ($a_tpl, $a_itgr) | |
| Render item group. More... | |
Data Fields | |
| const | DETAILS_DEACTIVATED = 0 |
| const | DETAILS_TITLE = 1 |
| const | DETAILS_ALL = 2 |
| $container_gui | |
| $container_obj | |
Protected Member Functions | |
| getDetailsLevel ($a_item_id) | |
| get details level More... | |
| getRightColumnHTML () | |
| Get HTML for right column. More... | |
| getCenterColumnHTML () | |
| Get HTML for center column. 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 | |
| $details_level = self::DETAILS_DEACTIVATED | |
Private Member Functions | |
| __forwardToColumnGUI () | |
| Get columngui output. More... | |
| getDownloadableTypes () | |
| Gets an array containing the types that can be downloaded. More... | |
| renderSelectAllBlock ($a_tpl) | |
| Renderes the "Select All" checkbox in the header row. 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 31 of file class.ilContainerContentGUI.php.
|
finalprivate |
Get columngui output.
Definition at line 206 of file class.ilContainerContentGUI.php.
References $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().
Here is the call graph for this function:
Here is the caller graph for this function:| ilContainerContentGUI::addEmbeddedBlock | ( | $block_type, | |
| $block_parameter | |||
| ) |
Add embedded block.
Definition at line 354 of file class.ilContainerContentGUI.php.
Referenced by determinePageEmbeddedBlocks().
Here is the caller graph for this function:| ilContainerContentGUI::addHeaderRow | ( | $a_tpl, | |
$a_type = "", |
|||
$a_text = "" |
|||
| ) |
Add header row to block template.
Definition at line 662 of file class.ilContainerContentGUI.php.
References $_SESSION, $ilSetting, $lng, getContainerGUI(), getDownloadableTypes(), ilUtil\getImagePath(), ilPlugin\lookupTxt(), renderSelectAllBlock(), and resetRowType().
Referenced by ilContainerSimpleContentGUI\__showMaterials(), ilContainerSessionsContentGUI\__showMaterials(), ilContainerILincContentGUI\renderItemList(), ilContainerByTypeContentGUI\renderItemList(), renderPageEmbeddedBlocks(), ilContainerObjectiveGUI\showMaterials(), and ilContainerObjectiveGUI\showObjectives().
Here is the call graph for this function:
Here is the caller graph for this function:| ilContainerContentGUI::addMessageRow | ( | & | $a_tpl, |
| $a_message, | |||
| $a_type | |||
| ) |
add message row
Definition at line 808 of file class.ilContainerContentGUI.php.
References $lng, and ilPlugin\lookupTxt().
Here is the call graph for this function:| ilContainerContentGUI::addSeparatorRow | ( | & | $a_tpl | ) |
Add separator row between two blocks.
Definition at line 841 of file class.ilContainerContentGUI.php.
References $lng.
Referenced by ilContainerSessionsContentGUI\__showMaterials(), renderItemGroup(), ilContainerILincContentGUI\renderItemList(), and ilContainerByTypeContentGUI\renderItemList().
Here is the caller graph for this function:| ilContainerContentGUI::addStandardRow | ( | & | $a_tpl, |
| $a_html, | |||
$a_ref_id = 0 |
|||
| ) |
add item row to template
Definition at line 634 of file class.ilContainerContentGUI.php.
References $ilSetting, and $lng.
Referenced by ilContainerSimpleContentGUI\__showMaterials(), ilContainerSessionsContentGUI\__showMaterials(), renderItemGroup(), ilContainerILincContentGUI\renderItemList(), ilContainerByTypeContentGUI\renderItemList(), renderPageEmbeddedBlocks(), ilContainerObjectiveGUI\showMaterials(), and ilContainerObjectiveGUI\showObjectives().
Here is the caller graph for this function:
|
protected |
cleaer administration commands determination
Definition at line 250 of file class.ilContainerContentGUI.php.
Referenced by ilContainerSimpleContentGUI\__showMaterials(), ilContainerSessionsContentGUI\__showMaterials(), ilContainerByTypeContentGUI\renderItemList(), ilContainerObjectiveGUI\showMaterials(), and ilContainerObjectiveGUI\showObjectives().
Here is the caller graph for this function:
|
protected |
determin admin commands
Definition at line 258 of file class.ilContainerContentGUI.php.
References getContainerGUI().
Referenced by renderItem(), and ilContainerObjectiveGUI\renderObjective().
Here is the call graph for this function:
Here is the caller graph for this function:| ilContainerContentGUI::determinePageEmbeddedBlocks | ( | $a_container_page_html | ) |
Determine all blocks that are embedded in the container page.
Definition at line 326 of file class.ilContainerContentGUI.php.
References addEmbeddedBlock(), and getGroupedObjTypes().
Referenced by insertPageEmbeddedBlocks().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Get HTML for center column.
Definition at line 167 of file class.ilContainerContentGUI.php.
References $ilCtrl, $tpl, __forwardToColumnGUI(), and getMainContent().
Referenced by setOutput().
Here is the call graph for this function:
Here is the caller graph for this function:| ilContainerContentGUI::getContainerGUI | ( | ) |
Get container GUI object.
Definition at line 64 of file class.ilContainerContentGUI.php.
References $container_gui.
Referenced by __forwardToColumnGUI(), ilContainerSimpleContentGUI\__showMaterials(), ilContainerSessionsContentGUI\__showMaterials(), addHeaderRow(), determineAdminCommands(), ilContainerByTypeContentGUI\getDetailsLevel(), ilContainerSessionsContentGUI\getDetailsLevel(), ilContainerSimpleContentGUI\getDetailsLevel(), getItemGUI(), ilContainerByTypeContentGUI\getMainContent(), ilContainerObjectiveGUI\getMainContent(), getRightColumnHTML(), renderItem(), renderItemGroup(), ilContainerILincContentGUI\renderItemList(), ilContainerByTypeContentGUI\renderItemList(), ilContainerObjectiveGUI\renderObjective(), ilContainerSessionsContentGUI\renderSessionLimitLink(), and ilContainerObjectiveGUI\showObjectives().
Here is the caller graph for this function:| ilContainerContentGUI::getContainerObject | ( | ) |
Get container object.
Definition at line 54 of file class.ilContainerContentGUI.php.
References $container_obj.
Referenced by __forwardToColumnGUI(), ilContainerSimpleContentGUI\__showMaterials(), ilContainerSessionsContentGUI\__showMaterials(), ilContainerObjectiveGUI\addFooterRow(), ilContainerSessionsContentGUI\addFooterRow(), getGroupedObjTypes(), ilContainerByTypeContentGUI\getMainContent(), ilContainerObjectiveGUI\getMainContent(), getRightColumnHTML(), ilContainerSimpleContentGUI\initDetails(), ilContainerByTypeContentGUI\initDetails(), ilContainerSessionsContentGUI\initDetails(), ilContainerObjectiveGUI\initDetails(), renderItem(), renderItemGroup(), ilContainerILincContentGUI\renderItemList(), ilContainerObjectiveGUI\renderObjective(), ilContainerSessionsContentGUI\renderSessionLimitLink(), setOutput(), ilContainerObjectiveGUI\showObjectives(), and ilContainerObjectiveGUI\showStatus().
Here is the caller graph for this function:
|
protected |
get details level
protected
Definition at line 44 of file class.ilContainerContentGUI.php.
References $details_level.
Referenced by renderItem().
Here is the caller graph for this function:
|
private |
Gets an array containing the types that can be downloaded.
Definition at line 737 of file class.ilContainerContentGUI.php.
Referenced by addHeaderRow(), and renderItemGroup().
Here is the caller graph for this function:| ilContainerContentGUI::getEmbeddedBlocks | ( | ) |
Get page embedded blocks.
Definition at line 362 of file class.ilContainerContentGUI.php.
| ilContainerContentGUI::getGroupedObjTypes | ( | ) |
Get grouped repository object types.
Definition at line 854 of file class.ilContainerContentGUI.php.
References getContainerObject().
Referenced by determinePageEmbeddedBlocks(), insertPageEmbeddedBlocks(), and ilContainerByTypeContentGUI\renderItemList().
Here is the call graph for this function:
Here is the caller graph for this function:| ilContainerContentGUI::getIntroduction | ( | ) |
Get introduction.
Definition at line 869 of file class.ilContainerContentGUI.php.
References $ilCtrl, $ilUser, $lng, $tpl, and ilUtil\getImagePath().
Referenced by ilContainerByTypeContentGUI\getMainContent().
Here is the call graph for this function:
Here is the caller graph for this function:| ilContainerContentGUI::getItemGroupsHTML | ( | $a_tpl | ) |
Get item groups HTML.
Definition at line 894 of file class.ilContainerContentGUI.php.
References renderItemGroup().
Referenced by ilContainerSimpleContentGUI\__showMaterials(), ilContainerSessionsContentGUI\__showMaterials(), ilContainerByTypeContentGUI\renderItemList(), and ilContainerObjectiveGUI\showMaterials().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Get ListGUI object for item.
Definition at line 283 of file class.ilContainerContentGUI.php.
References ilObjectListGUIFactory\_getListGUIByType(), and getContainerGUI().
Referenced by renderItem(), renderItemGroup(), and ilContainerObjectiveGUI\renderObjective().
Here is the call graph for this function:
Here is the caller graph for this function:
|
abstract |
Get content HTML for main column, this one must be overwritten in derived classes.
Referenced by __forwardToColumnGUI(), and getCenterColumnHTML().
Here is the caller graph for this function:
|
protected |
Get HTML for right column.
Definition at line 117 of file class.ilContainerContentGUI.php.
References $ilCtrl, $ilUser, $lng, ilObject\_lookupObjId(), ilObject\_lookupType(), getContainerGUI(), getContainerObject(), IL_COL_RIGHT, IL_SCREEN_FULL, and IL_SCREEN_SIDE.
Referenced by setOutput().
Here is the call graph for this function:
Here is the caller graph for this function:| ilContainerContentGUI::insertPageEmbeddedBlocks | ( | $a_output_html | ) |
Insert blocks into container page.
Definition at line 769 of file class.ilContainerContentGUI.php.
References determinePageEmbeddedBlocks(), getGroupedObjTypes(), and renderPageEmbeddedBlocks().
Referenced by ilContainerSimpleContentGUI\__showMaterials(), ilContainerSessionsContentGUI\__showMaterials(), ilContainerByTypeContentGUI\renderItemList(), ilContainerObjectiveGUI\showMaterials(), and ilContainerObjectiveGUI\showObjectives().
Here is the call graph for this function:
Here is the caller graph for this function:| ilContainerContentGUI::newBlockTemplate | ( | ) |
returns a new list block template
private
Definition at line 623 of file class.ilContainerContentGUI.php.
References $tpl.
Referenced by ilContainerSimpleContentGUI\__showMaterials(), ilContainerSessionsContentGUI\__showMaterials(), ilContainerILincContentGUI\renderItemList(), ilContainerByTypeContentGUI\renderItemList(), renderPageEmbeddedBlocks(), ilContainerObjectiveGUI\showMaterials(), and ilContainerObjectiveGUI\showObjectives().
Here is the caller graph for this function:| ilContainerContentGUI::renderItem | ( | $a_item_data, | |
$a_position = 0, |
|||
$a_force_icon = false, |
|||
$a_pos_prefix = "" |
|||
| ) |
Render an item.
| array | item data |
Definition at line 459 of file class.ilContainerContentGUI.php.
References $_SESSION, $ilCtrl, $ilSetting, ilContainerSorting\_getInstance(), ilObjectActivation\addListGUIActivationProperty(), ilObjectListGUI\DETAILS_ALL, ilObjectListGUI\DETAILS_MINIMAL, determineAdminCommands(), ilContainer\getCompleteDescriptions(), getContainerGUI(), getContainerObject(), getDetailsLevel(), getItemGUI(), ilObjectActivation\getItemsByEvent(), and ilContainer\SORT_MANUAL.
Referenced by ilContainerSimpleContentGUI\__showMaterials(), ilContainerSessionsContentGUI\__showMaterials(), renderItemGroup(), ilContainerByTypeContentGUI\renderItemList(), renderPageEmbeddedBlocks(), and ilContainerObjectiveGUI\showMaterials().
Here is the call graph for this function:
Here is the caller graph for this function:| ilContainerContentGUI::renderItemGroup | ( | $a_tpl, | |
| $a_itgr | |||
| ) |
Render item group.
Definition at line 917 of file class.ilContainerContentGUI.php.
References $_SESSION, ilContainerSorting\_getInstance(), addSeparatorRow(), addStandardRow(), getContainerGUI(), getContainerObject(), getDownloadableTypes(), getItemGUI(), ilObjectActivation\getItemsByItemGroup(), renderItem(), renderSelectAllBlock(), and resetRowType().
Referenced by getItemGroupsHTML(), and renderPageEmbeddedBlocks().
Here is the call graph for this function:
Here is the caller graph for this function:| ilContainerContentGUI::renderPageEmbeddedBlocks | ( | ) |
Render Page Embedded Blocks.
Definition at line 370 of file class.ilContainerContentGUI.php.
References $lng, $ref_id, $tpl, addHeaderRow(), addStandardRow(), newBlockTemplate(), renderItem(), renderItemGroup(), and ilUtil\sortArray().
Referenced by insertPageEmbeddedBlocks().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Renderes the "Select All" checkbox in the header row.
Definition at line 745 of file class.ilContainerContentGUI.php.
References $lng.
Referenced by addHeaderRow(), and renderItemGroup().
Here is the caller graph for this function:| ilContainerContentGUI::resetRowType | ( | ) |
Reset row type (toggling background colors)
Definition at line 761 of file class.ilContainerContentGUI.php.
Referenced by addHeaderRow(), renderItemGroup(), and ilContainerILincContentGUI\renderItemList().
Here is the caller graph for this function:| 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 75 of file class.ilContainerContentGUI.php.
References $ilCtrl, $ilUser, $tpl, ilObject\_lookupObjId(), ilChangeEvent\_recordReadEvent(), getCenterColumnHTML(), getContainerObject(), and getRightColumnHTML().
Here is the call graph for this function:| ilContainerContentGUI::$container_gui |
Definition at line 24 of file class.ilContainerContentGUI.php.
Referenced by getContainerGUI().
| ilContainerContentGUI::$container_obj |
Definition at line 25 of file class.ilContainerContentGUI.php.
Referenced by getContainerObject().
|
protected |
Definition at line 22 of file class.ilContainerContentGUI.php.
Referenced by getDetailsLevel(), ilContainerObjectiveGUI\getDetailsLevel(), and ilContainerObjectiveGUI\initDetails().
| const ilContainerContentGUI::DETAILS_ALL = 2 |
Definition at line 20 of file class.ilContainerContentGUI.php.
| const ilContainerContentGUI::DETAILS_DEACTIVATED = 0 |
Definition at line 18 of file class.ilContainerContentGUI.php.
| const ilContainerContentGUI::DETAILS_TITLE = 1 |
Definition at line 19 of file class.ilContainerContentGUI.php.