38 $this->
user = $DIC[
'ilUser'];
46 if(!(self::$instance instanceof
self))
48 self::$instance =
new self();
60 $this->
settings->set($keyword, $value);
70 return $this->
settings->get($keyword, $default);
78 if(self::$is_enabled !==
null)
83 if($this->
user->isAnonymous())
85 self::$is_enabled =
false;
89 self::$is_enabled = $this->
settings->get(
'enabled',
false);
An exception for terminatinating execution or to throw for unit testing.
getSetting($keyword, $default=false)
setSetting($keyword, $value)