24include_once(
"./Services/Container/classes/class.ilContainerContentGUI.php");
 
   50        $this->tabs = 
$DIC->tabs();
 
   51        $this->
user = $DIC->user();
 
   52        $this->ctrl = 
$DIC->ctrl();
 
   55        parent::__construct($container_gui_obj);
 
   73        if (isset(
$_SESSION[
'sess'][
'expanded'][$a_session_id])) {
 
   74            return $_SESSION[
'sess'][
'expanded'][$a_session_id];
 
   76        if (in_array($a_session_id, $this->force_details)) {
 
   96        include_once 
'Services/Object/classes/class.ilObjectListGUIFactory.php';
 
   99            "tpl.container_page.html",
 
  125        if ($output_html != 
"") {
 
  129        if (is_array($this->items[
"sess"]) ||
 
  130            $this->items[
'sess_link'][
'prev'][
'value'] ||
 
  131            $this->items[
'sess_link'][
'next'][
'value']) {
 
  132            $this->items[
'sess'] = 
ilUtil::sortArray($this->items[
'sess'], 
'start', 
'asc', 
true, 
false);
 
  134            if ($this->items[
'sess_link'][
'prev'][
'value']) {
 
  137            if ($this->items[
'sess_link'][
'next'][
'value']) {
 
  141            $this->renderer->addTypeBlock(
"sess", $prefix, $postfix);
 
  142            $this->renderer->setBlockPosition(
"sess", 1);
 
  146            foreach ($this->items[
"sess"] as $item_data) {
 
  147                if (!$this->renderer->hasItem($item_data[
"child"])) {
 
  150                        $this->renderer->addItemToBlock(
"sess", $item_data[
"type"], $item_data[
"child"], 
$html);
 
  158        if (is_array($this->items[
"_all"])) {
 
  159            $this->renderer->addCustomBlock(
"_all", 
$lng->txt(
"content"));
 
  160            $this->renderer->setBlockPosition(
"_all", ++$pos);
 
  164            foreach ($this->items[
"_all"] as $item_data) {
 
  166                if ($item_data[
"type"] == 
"sess" || $item_data[
"type"] == 
"itgr") {
 
  170                if (!$this->renderer->hasItem($item_data[
"child"])) {
 
  173                        $this->renderer->addItemToBlock(
"_all", $item_data[
"type"], $item_data[
"child"], 
$html);
 
  179        $output_html .= $this->renderer->getHTML();
 
  181        $a_tpl->setVariable(
"CONTAINER_PAGE_CONTENT", $output_html);
 
  194        $lng->loadLanguageModule(
'crs');
 
  197            'tpl.container_list_item.html',
 
  202        $tpl->setVariable(
'DIV_CLASS', 
'ilContainerListItemOuter');
 
  203        $tpl->setCurrentBlock(
'item_title_linked');
 
  209                $tpl->setVariable(
'TXT_TITLE_LINKED', 
$lng->txt(
'crs_link_hide_prev_sessions'));
 
  214                $tpl->setVariable(
'TXT_TITLE_LINKED', 
$lng->txt(
'crs_link_show_all_prev_sessions'));
 
  223                $tpl->setVariable(
'TXT_TITLE_LINKED', 
$lng->txt(
'crs_link_hide_next_sessions'));
 
  228                $tpl->setVariable(
'TXT_TITLE_LINKED', 
$lng->txt(
'crs_link_show_all_next_sessions'));
 
  234        $tpl->parseCurrentBlock();
 
  251        $ilCtrl->setParameterByClass(
"ilrepositorygui", 
"ref_id", 
$_GET[
"ref_id"]);
 
  253        $tpl->setCurrentBlock(
'container_details_row');
 
  254        $tpl->setVariable(
'TXT_DETAILS', $this->lng->txt(
'details'));
 
  255        $tpl->parseCurrentBlock();
 
  269        if (
$_GET[
'expand']) {
 
  270            if (
$_GET[
'expand'] > 0) {
 
  277        include_once(
'./Modules/Session/classes/class.ilSessionAppointment.php');
 
  281            $this->force_details = array(
$session);
 
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.
addFooterRow($tpl)
add footer row
renderSessionLimitLink($a_previous=true)
Show link to show/hide all previous/next sessions.
getMainContent()
Get content HTML for main column.
__showMaterials($a_tpl)
Show Materials.
getDetailsLevel($a_session_id)
get details level
initDetails()
init details
__construct($container_gui_obj)
Constructor.
static lookupLastSessionByCourse($a_ref_id)
@access public
static lookupNextSessionByCourse($a_ref_id)
@access public
special template class to simplify handling of ITX/PEAR
static sortArray( $array, $a_array_sortby, $a_array_sortorder=0, $a_numeric=false, $a_keep_keys=false)
sortArray