34 $this->
lng = $DIC->language();
35 $this->
tabs = $DIC->tabs();
36 $this->
access = $DIC->access();
37 $this->
user = $DIC->user();
48 "tpl.container_page.html",
76 if ($output_html !==
"") {
83 if (isset($this->items[
'_all']) && is_array($this->items[
"_all"])) {
85 ?
$lng->
txt(
"cont_found_objects")
87 $this->renderer->addCustomBlock(
"_all", $title);
90 foreach ($this->items[
"_all"] as $k => $item_data) {
91 if (!$this->renderer->hasItem($item_data[
"child"])) {
92 $html = $this->
renderItem($item_data, $position++,
true);
94 $this->renderer->addItemToBlock(
"_all", $item_data[
"type"], $item_data[
"child"], $html);
100 $output_html .= $this->renderer->getHTML();
102 $a_tpl->
setVariable(
"CONTAINER_PAGE_CONTENT", $output_html);
121 return self::DETAILS_DEACTIVATED;
123 if ($this->item_manager->getExpanded($a_item_id) !== null) {
124 return $this->item_manager->getExpanded($a_item_id);
126 if ($a_item_id == $this->force_details) {
127 return self::DETAILS_ALL;
130 return self::DETAILS_TITLE;
getDetailsLevel(int $a_item_id)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
txt(string $a_topic, string $a_default_lang_fallback_mod="")
gets the text for a given topic if the topic is not in the list, the topic itself with "-" will be re...
getItemGroupsHTML(int $a_pos=0)
ilGlobalTemplateInterface $tpl
__construct(ilContainerGUI $container_gui_obj)
get(string $part=self::DEFAULT_BLOCK)
Renders the given block and returns the html string.
initRenderer()
Init container renderer.
Parent class of all container content GUIs.
static lookupNextSessionByCourse(int $a_ref_id)
setVariable($variable, $value='')
Sets a variable value.
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.
static lookupLastSessionByCourse(int $a_ref_id)
showMaterials(ilTemplate $a_tpl)
clearAdminCommandsDetermination()
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
__construct(Container $dic, ilPlugin $plugin)
Class ilContainerGUI This is a base GUI class for all container objects in ILIAS: root folder...
insertPageEmbeddedBlocks(string $a_output_html)
Insert blocks into container page.