Definition at line 26 of file TooltipsManager.php.
◆ __construct()
◆ addTooltip()
ILIAS\Help\Tooltips\TooltipsManager::addTooltip |
( |
string |
$a_tt_id, |
|
|
string |
$a_text, |
|
|
int |
$a_module_id = 0 |
|
) |
| |
Definition at line 97 of file TooltipsManager.php.
101 : void {
102 $this->repo->addTooltip($a_tt_id, $a_text, $a_module_id);
103 }
◆ deleteTooltip()
ILIAS\Help\Tooltips\TooltipsManager::deleteTooltip |
( |
int |
$a_id | ) |
|
◆ deleteTooltipsOfModule()
ILIAS\Help\Tooltips\TooltipsManager::deleteTooltipsOfModule |
( |
int |
$module_id | ) |
|
Definition at line 130 of file TooltipsManager.php.
132 : void {
133 $this->repo->deleteTooltipsOfModule($module_id);
134 }
◆ getAllTooltips()
ILIAS\Help\Tooltips\TooltipsManager::getAllTooltips |
( |
string |
$a_comp = "" , |
|
|
int |
$a_module_id = 0 |
|
) |
| |
Definition at line 90 of file TooltipsManager.php.
93 : array {
94 return $this->repo->getAllTooltips($a_comp, $a_module_id);
95 }
◆ getMainMenuTooltip()
ILIAS\Help\Tooltips\TooltipsManager::getMainMenuTooltip |
( |
string |
$a_item_id | ) |
|
◆ getObjCreationTooltipText()
ILIAS\Help\Tooltips\TooltipsManager::getObjCreationTooltipText |
( |
string |
$a_type | ) |
|
◆ getTooltipComponents()
ILIAS\Help\Tooltips\TooltipsManager::getTooltipComponents |
( |
int |
$a_module_id = 0 | ) |
|
Definition at line 114 of file TooltipsManager.php.
116 : array {
117 $comps[
""] =
"- " . $this->
lng->txt(
"help_all") .
" -";
118 foreach ($this->repo->getTooltipComponents($a_module_id) as
$c) {
120 }
121 return $comps;
122 }
References $c.
◆ getTooltipPresentationText()
ILIAS\Help\Tooltips\TooltipsManager::getTooltipPresentationText |
( |
string |
$a_tt_id | ) |
|
Definition at line 45 of file TooltipsManager.php.
47 : string {
48
49 if ($this->
user->getLanguage() !==
"de") {
50 return "";
51 }
52
53 if ($this->
settings->get(
"help_mode") ===
"1") {
54 return "";
55 }
56
57 if ($this->
user->getPref(
"hide_help_tt")) {
58 return "";
59 }
60
61 if ($this->domain->module()->isAuthoringMode()) {
62 $module_ids = [0];
63 } else {
64 $module_ids = $this->domain->module()->getActiveModules();
65 }
66 return $this->repo->getTooltipPresentationText(
67 $a_tt_id,
68 $module_ids
69 );
70 }
◆ updateTooltip()
ILIAS\Help\Tooltips\TooltipsManager::updateTooltip |
( |
int |
$a_id, |
|
|
string |
$a_text, |
|
|
string |
$a_tt_id |
|
) |
| |
Definition at line 105 of file TooltipsManager.php.
109 : void {
110 $this->repo->updateTooltip($a_id, $a_text, $a_tt_id);
111 }
◆ $domain
◆ $lng
ilLanguage ILIAS\Help\Tooltips\TooltipsManager::$lng |
|
protected |
◆ $repo
◆ $settings
ilSetting ILIAS\Help\Tooltips\TooltipsManager::$settings |
|
protected |
◆ $user
ilObjUser ILIAS\Help\Tooltips\TooltipsManager::$user |
|
protected |
The documentation for this class was generated from the following file: