53 if(self::$instance != null)
108 if(!in_array(
$ref_id,$this->container_items) and
124 if(!$this->active || !(
int)$a_ref_id)
130 if(!in_array($a_ref_id,$this->container_items) and
147 $this->active =
true;
157 $this->active =
false;
158 $this->container = null;
159 unset(
$_SESSION[
'member_view_container']);
197 $this->enabled = $ilSetting->get(
'preview_learner');
199 if(isset(
$_SESSION[
'member_view_container']))
201 $this->active =
true;
202 $this->container = (int)
$_SESSION[
'member_view_container'];
203 $this->container_items = $tree->getSubTreeIds($this->
getContainer());