38 $this->
user = $DIC[
'ilUser'];
46 if (!(self::$instance instanceof
self)) {
47 self::$instance =
new self();
50 return self::$instance;
59 $this->
settings->set($keyword, $value);
69 return $this->
settings->get($keyword, $default);
77 if (self::$is_enabled !== null) {
78 return self::$is_enabled;
81 if ($this->
user->isAnonymous()) {
82 self::$is_enabled =
false;
86 self::$is_enabled = $this->
settings->get(
'enabled',
false);
87 return self::$is_enabled;
setSetting($keyword, $value)
getSetting($keyword, $default=false)