24include_once(
"./Services/Container/classes/class.ilContainerContentGUI.php");
50 $this->lng =
$DIC->language();
51 $this->tabs =
$DIC->tabs();
52 $this->access =
$DIC->access();
53 $this->
user = $DIC->user();
70 include_once
'Services/Object/classes/class.ilObjectListGUIFactory.php';
73 "tpl.container_page.html",
104 if ($output_html !=
"") {
111 if (is_array($this->items[
"_all"])) {
113 ?
$lng->txt(
"cont_found_objects")
114 :
$lng->txt(
"content");
115 $this->renderer->addCustomBlock(
"_all", $title);
118 foreach ($this->items[
"_all"] as $k => $item_data) {
119 if (!$this->renderer->hasItem($item_data[
"child"])) {
120 $html = $this->
renderItem($item_data, $position++,
true);
122 $this->renderer->addItemToBlock(
"_all", $item_data[
"type"], $item_data[
"child"], $html);
128 $output_html .= $this->renderer->getHTML();
130 $a_tpl->setVariable(
"CONTAINER_PAGE_CONTENT", $output_html);
144 if (
$_GET[
'expand']) {
145 if (
$_GET[
'expand'] > 0) {
154 include_once(
'./Modules/Session/classes/class.ilSessionAppointment.php');
175 if (isset(
$_SESSION[
'sess'][
'expanded'][$a_session_id])) {
176 return $_SESSION[
'sess'][
'expanded'][$a_session_id];
178 if ($a_session_id == $this->force_details) {
An exception for terminatinating execution or to throw for unit testing.
Parent class of all container content GUIs.
initRenderer()
Init container renderer.
getContainerObject()
Get container object.
getContainerGUI()
Get container GUI object.
renderItem($a_item_data, $a_position=0, $a_force_icon=false, $a_pos_prefix="")
Render an item.
insertPageEmbeddedBlocks($a_output_html)
Insert blocks into container page.
getItemGroupsHTML($a_pos=0)
Get item groups HTML.
clearAdminCommandsDetermination()
cleaer administration commands determination
const DETAILS_DEACTIVATED
Shows all items in one block.
initDetails()
init details
getDetailsLevel($a_session_id)
get details level
__construct($container_gui_obj)
Constructor.
getMainContent()
Get content HTML for main column.
__showMaterials($a_tpl)
Show Materials.
static lookupLastSessionByCourse($a_ref_id)
@access public
static lookupNextSessionByCourse($a_ref_id)
@access public
special template class to simplify handling of ITX/PEAR
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc