38 $this->
user = $DIC[
'ilUser'];
46 if(!(self::$instance instanceof
self))
48 self::$instance =
new self();
51 return self::$instance;
60 $this->
settings->set($keyword, $value);
70 return $this->
settings->get($keyword, $default);
78 if(self::$is_enabled !== null)
80 return self::$is_enabled;
83 if($this->
user->isAnonymous())
85 self::$is_enabled =
false;
89 self::$is_enabled = $this->
settings->get(
'enabled',
false);
90 return self::$is_enabled;
setSetting($keyword, $value)
getSetting($keyword, $default=false)