53 if(self::$instance != null)
108 if(!in_array(
$ref_id,$this->container_items) and
125 $this->active =
true;
135 $this->active =
false;
136 $this->container = null;
137 unset(
$_SESSION[
'member_view_container']);
175 $this->enabled = $ilSetting->get(
'preview_learner');
177 if(isset(
$_SESSION[
'member_view_container']))
179 $this->active =
true;
180 $this->container = (int)
$_SESSION[
'member_view_container'];
181 $this->container_items = $tree->getSubTreeIds($this->
getContainer());