19 declare(strict_types=1);
    28     protected \ilLanguage 
$lng;
    40         $this->
settings = $domain->settings();
    41         $this->
user = $domain->user();
    42         $this->
lng = $domain->lng();
    49         if ($this->
user->getLanguage() !== 
"de") {
    53         if ($this->
settings->get(
"help_mode") === 
"1") {
    57         if ($this->
user->getPref(
"hide_help_tt")) {
    61         if ($this->domain->module()->isAuthoringMode()) {
    64             $module_ids = $this->domain->module()->getActiveModules();
    66         return $this->repo->getTooltipPresentationText(
    94         return $this->repo->getAllTooltips($a_comp, $a_module_id);
   102         $this->repo->addTooltip($a_tt_id, $a_text, $a_module_id);
   110         $this->repo->updateTooltip($a_id, $a_text, $a_tt_id);
   117         $comps[
""] = 
"- " . $this->
lng->txt(
"help_all") . 
" -";
   118         foreach ($this->repo->getTooltipComponents($a_module_id) as 
$c) {
   127         $this->repo->deleteTooltip($a_id);
   133         $this->repo->deleteTooltipsOfModule($module_id);