38 $this->
user = $DIC[
'ilUser'];
46 if (!(self::$instance instanceof
self)) {
47 self::$instance =
new self();
59 $this->
settings->set($keyword, $value);
69 return $this->
settings->get($keyword, $default);
77 if (self::$is_enabled !==
null) {
81 if ($this->
user->isAnonymous()) {
82 self::$is_enabled =
false;
86 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)