ILIAS
Release_3_10_x_branch Revision 61812
|
Parent class of all container content GUIs. More...
Public Member Functions | |
__construct (&$container_gui_obj) | |
Constructor. | |
getContainerObject () | |
Get container object. | |
getContainerGUI () | |
Get container GUI object. | |
setOutput () | |
Sets view output into column layout. | |
getMainContent () | |
Get content HTML for main column, this one must be overwritten in derived classes. | |
determinePageEmbeddedBlocks ($a_container_page_html) | |
Determine all blocks that are embedded in the container page. | |
addEmbeddedBlock ($block_type, $block_parameter) | |
Add embedded block. | |
getEmbeddedBlocks () | |
Get page embedded blocks. | |
renderPageEmbeddedBlocks () | |
Render Page Embedded Blocks. | |
renderItem ($a_item_data, $a_position=0, $a_force_icon=false) | |
Render an item. | |
& | newBlockTemplate () |
returns a new list block template | |
addStandardRow (&$a_tpl, $a_html) | |
add item row to template | |
addHeaderRow ($a_tpl, $a_type="", $a_text="") | |
Add header row to block template. | |
resetRowType () | |
Reset row type (toggling background colors) | |
insertPageEmbeddedBlocks ($a_output_html) | |
Insert blocks into container page. | |
addMessageRow (&$a_tpl, $a_message, $a_type) | |
add message row | |
addSeparatorRow (&$a_tpl) | |
Add separator row between two blocks. | |
getGroupedObjTypes () | |
Get grouped repository object types. | |
getIntroduction () | |
Get introduction. |
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 | |
getRightColumnHTML () | |
Get HTML for right column. | |
getCenterColumnHTML () | |
Get HTML for center column. | |
clearAdminCommandsDetermination () | |
cleaer administration commands determination | |
determineAdminCommands ($a_ref_id, $a_admin_com_included_in_list=false) | |
determin admin commands | |
getItemGUI ($item_data, $a_show_path=false) | |
Get ListGUI object for item. |
Protected Attributes | |
$details_level = self::DETAILS_DEACTIVATED |
Private Member Functions | |
__forwardToColumnGUI () | |
Get columngui output. |
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 35 of file class.ilContainerContentGUI.php.
ilContainerContentGUI::__construct | ( | & | $container_gui_obj | ) |
Constructor.
Definition at line 51 of file class.ilContainerContentGUI.php.
|
finalprivate |
Get columngui output.
Definition at line 186 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().
ilContainerContentGUI::addEmbeddedBlock | ( | $block_type, | |
$block_parameter | |||
) |
Add embedded block.
Definition at line 317 of file class.ilContainerContentGUI.php.
Referenced by determinePageEmbeddedBlocks().
ilContainerContentGUI::addHeaderRow | ( | $a_tpl, | |
$a_type = "" , |
|||
$a_text = "" |
|||
) |
Add header row to block template.
Definition at line 526 of file class.ilContainerContentGUI.php.
References $ilSetting, $lng, $title, ilUtil\getImagePath(), and resetRowType().
Referenced by ilContainerSimpleContentGUI\__showMaterials(), ilContainerSessionsContentGUI\__showMaterials(), ilContainerILincContentGUI\renderItemList(), ilContainerByTypeContentGUI\renderItemList(), renderPageEmbeddedBlocks(), ilContainerObjectiveGUI\showMaterials(), and ilContainerObjectiveGUI\showObjectives().
ilContainerContentGUI::addMessageRow | ( | & | $a_tpl, |
$a_message, | |||
$a_type | |||
) |
add message row
Definition at line 596 of file class.ilContainerContentGUI.php.
References $lng.
Referenced by renderPageEmbeddedBlocks().
ilContainerContentGUI::addSeparatorRow | ( | & | $a_tpl | ) |
Add separator row between two blocks.
Definition at line 621 of file class.ilContainerContentGUI.php.
Referenced by ilContainerSessionsContentGUI\__showMaterials(), ilContainerILincContentGUI\renderItemList(), and ilContainerByTypeContentGUI\renderItemList().
ilContainerContentGUI::addStandardRow | ( | & | $a_tpl, |
$a_html | |||
) |
add item row to template
Definition at line 507 of file class.ilContainerContentGUI.php.
References $ilSetting, and $lng.
Referenced by ilContainerSimpleContentGUI\__showMaterials(), ilContainerSessionsContentGUI\__showMaterials(), ilContainerILincContentGUI\renderItemList(), ilContainerByTypeContentGUI\renderItemList(), renderPageEmbeddedBlocks(), ilContainerObjectiveGUI\showMaterials(), and ilContainerObjectiveGUI\showObjectives().
|
protected |
cleaer administration commands determination
Definition at line 231 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 239 of file class.ilContainerContentGUI.php.
References getContainerGUI().
Referenced by renderItem(), and ilContainerObjectiveGUI\renderObjective().
ilContainerContentGUI::determinePageEmbeddedBlocks | ( | $a_container_page_html | ) |
Determine all blocks that are embedded in the container page.
Definition at line 297 of file class.ilContainerContentGUI.php.
References addEmbeddedBlock(), and getGroupedObjTypes().
Referenced by insertPageEmbeddedBlocks().
|
protected |
Get HTML for center column.
Definition at line 156 of file class.ilContainerContentGUI.php.
References $ilCtrl, $tpl, __forwardToColumnGUI(), and getMainContent().
Referenced by setOutput().
ilContainerContentGUI::getContainerGUI | ( | ) |
Get container GUI object.
Definition at line 84 of file class.ilContainerContentGUI.php.
References $container_gui.
Referenced by __forwardToColumnGUI(), ilContainerSimpleContentGUI\__showMaterials(), ilContainerSessionsContentGUI\__showMaterials(), determineAdminCommands(), ilContainerSessionsContentGUI\getDetailsLevel(), getItemGUI(), ilContainerByTypeContentGUI\getMainContent(), ilContainerSimpleContentGUI\getMainContent(), ilContainerObjectiveGUI\getMainContent(), ilContainerSessionsContentGUI\getMainContent(), getRightColumnHTML(), renderItem(), ilContainerILincContentGUI\renderItemList(), ilContainerByTypeContentGUI\renderItemList(), ilContainerObjectiveGUI\renderObjective(), ilContainerObjectiveGUI\showMaterials(), and ilContainerObjectiveGUI\showObjectives().
ilContainerContentGUI::getContainerObject | ( | ) |
Get container object.
Definition at line 74 of file class.ilContainerContentGUI.php.
References $container_obj.
Referenced by __forwardToColumnGUI(), ilContainerSimpleContentGUI\__showMaterials(), ilContainerSessionsContentGUI\__showMaterials(), ilContainerSessionsContentGUI\addFooterRow(), ilContainerObjectiveGUI\addFooterRow(), getGroupedObjTypes(), ilContainerByTypeContentGUI\getMainContent(), ilContainerSimpleContentGUI\getMainContent(), ilContainerObjectiveGUI\getMainContent(), ilContainerSessionsContentGUI\getMainContent(), getRightColumnHTML(), ilContainerSessionsContentGUI\initDetails(), ilContainerObjectiveGUI\initDetails(), renderItem(), ilContainerILincContentGUI\renderItemList(), ilContainerObjectiveGUI\renderObjective(), setOutput(), ilContainerObjectiveGUI\showObjectives(), and ilContainerObjectiveGUI\showStatus().
|
protected |
get details level
protected
@return |
Reimplemented in ilContainerObjectiveGUI, and ilContainerSessionsContentGUI.
Definition at line 64 of file class.ilContainerContentGUI.php.
References $details_level.
Referenced by renderItem().
ilContainerContentGUI::getEmbeddedBlocks | ( | ) |
Get page embedded blocks.
Definition at line 325 of file class.ilContainerContentGUI.php.
ilContainerContentGUI::getGroupedObjTypes | ( | ) |
Get grouped repository object types.
Definition at line 632 of file class.ilContainerContentGUI.php.
References getContainerObject().
Referenced by determinePageEmbeddedBlocks(), insertPageEmbeddedBlocks(), and ilContainerByTypeContentGUI\renderItemList().
ilContainerContentGUI::getIntroduction | ( | ) |
Get introduction.
Definition at line 647 of file class.ilContainerContentGUI.php.
References $ilCtrl, $lng, $tpl, and ilUtil\getImagePath().
Referenced by ilContainerByTypeContentGUI\getMainContent().
|
protected |
Get ListGUI object for item.
Definition at line 264 of file class.ilContainerContentGUI.php.
References ilObjectListGUIFactory\_getListGUIByType(), and getContainerGUI().
Referenced by renderItem(), and ilContainerObjectiveGUI\renderObjective().
|
abstract |
Get content HTML for main column, this one must be overwritten in derived classes.
Reimplemented in ilContainerSessionsContentGUI, ilContainerObjectiveGUI, ilContainerSimpleContentGUI, and ilContainerByTypeContentGUI.
Referenced by __forwardToColumnGUI(), and getCenterColumnHTML().
|
protected |
Get HTML for right column.
Definition at line 116 of file class.ilContainerContentGUI.php.
References $ilCtrl, $lng, ilObject\_lookupObjId(), ilObject\_lookupType(), getContainerGUI(), getContainerObject(), IL_COL_RIGHT, IL_SCREEN_FULL, and IL_SCREEN_SIDE.
Referenced by setOutput().
ilContainerContentGUI::insertPageEmbeddedBlocks | ( | $a_output_html | ) |
Insert blocks into container page.
Definition at line 572 of file class.ilContainerContentGUI.php.
References determinePageEmbeddedBlocks(), getGroupedObjTypes(), and renderPageEmbeddedBlocks().
Referenced by ilContainerSimpleContentGUI\__showMaterials(), ilContainerSessionsContentGUI\__showMaterials(), ilContainerByTypeContentGUI\renderItemList(), ilContainerObjectiveGUI\showMaterials(), and ilContainerObjectiveGUI\showObjectives().
& ilContainerContentGUI::newBlockTemplate | ( | ) |
returns a new list block template
private
Definition at line 496 of file class.ilContainerContentGUI.php.
References $tpl.
Referenced by ilContainerSimpleContentGUI\__showMaterials(), ilContainerSessionsContentGUI\__showMaterials(), ilContainerILincContentGUI\renderItemList(), ilContainerByTypeContentGUI\renderItemList(), renderPageEmbeddedBlocks(), ilContainerObjectiveGUI\showMaterials(), and ilContainerObjectiveGUI\showObjectives().
ilContainerContentGUI::renderItem | ( | $a_item_data, | |
$a_position = 0 , |
|||
$a_force_icon = false |
|||
) |
Render an item.
array | item data |
Definition at line 386 of file class.ilContainerContentGUI.php.
References $ilSetting, ilContainerSorting\_getInstance(), determineAdminCommands(), getContainerGUI(), getContainerObject(), getDetailsLevel(), getItemGUI(), and ilContainer\SORT_MANUAL.
Referenced by ilContainerSimpleContentGUI\__showMaterials(), ilContainerSessionsContentGUI\__showMaterials(), ilContainerByTypeContentGUI\renderItemList(), renderPageEmbeddedBlocks(), and ilContainerObjectiveGUI\showMaterials().
ilContainerContentGUI::renderPageEmbeddedBlocks | ( | ) |
Render Page Embedded Blocks.
Definition at line 333 of file class.ilContainerContentGUI.php.
References $lng, $tpl, addHeaderRow(), addMessageRow(), addStandardRow(), newBlockTemplate(), and renderItem().
Referenced by insertPageEmbeddedBlocks().
ilContainerContentGUI::resetRowType | ( | ) |
Reset row type (toggling background colors)
Definition at line 564 of file class.ilContainerContentGUI.php.
Referenced by addHeaderRow(), and ilContainerILincContentGUI\renderItemList().
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 95 of file class.ilContainerContentGUI.php.
References $tpl, ilChangeEvent\_isActive(), ilObject\_lookupObjId(), ilChangeEvent\_recordReadEvent(), getCenterColumnHTML(), getContainerObject(), and getRightColumnHTML().
ilContainerContentGUI::$container_gui |
Definition at line 44 of file class.ilContainerContentGUI.php.
Referenced by getContainerGUI().
ilContainerContentGUI::$container_obj |
Definition at line 45 of file class.ilContainerContentGUI.php.
Referenced by getContainerObject().
|
protected |
Definition at line 42 of file class.ilContainerContentGUI.php.
Referenced by getDetailsLevel(), ilContainerObjectiveGUI\getDetailsLevel(), and ilContainerObjectiveGUI\initDetails().
const ilContainerContentGUI::DETAILS_ALL = 2 |
Definition at line 39 of file class.ilContainerContentGUI.php.
Referenced by ilContainerSessionsContentGUI\getDetailsLevel(), ilContainerObjectiveGUI\getDetailsLevel(), and ilContainerSessionsContentGUI\initDetails().
const ilContainerContentGUI::DETAILS_DEACTIVATED = 0 |
Definition at line 37 of file class.ilContainerContentGUI.php.
Referenced by ilContainerSessionsContentGUI\getDetailsLevel().
const ilContainerContentGUI::DETAILS_TITLE = 1 |
Definition at line 38 of file class.ilContainerContentGUI.php.
Referenced by ilContainerSessionsContentGUI\getDetailsLevel(), ilContainerSessionsContentGUI\initDetails(), and ilContainerObjectiveGUI\initDetails().