ILIAS
release_6 Revision v6.24-5-g0c8bfefb3b8
◀ ilDoc Overview
trait.ilHelpDisplayed.php
Go to the documentation of this file.
1
<?php
2
7
trait
ilHelpDisplayed
8
{
14
protected
function
showHelpTool() : bool
15
{
16
static
$show;
17
if
(!isset($show)) {
18
global
$DIC
;
19
20
$user = $DIC->user();
21
$settings = $DIC->settings();
22
23
if
($user->getLanguage() !=
"de"
) {
24
return
$show =
false
;
25
}
26
27
//if (ilSession::get("show_help_tool") != "1") {
28
// return $show = false;
29
//}
30
31
if
($settings->get(
"help_mode"
) ==
"2"
) {
32
return
$show =
false
;
33
}
34
35
if
((defined(
"OH_REF_ID"
) && OH_REF_ID > 0)) {
36
return
$show =
true
;
37
}
else
{
38
$module = (int) $settings->get(
"help_module"
);
39
if
($module == 0) {
40
return
$show =
false
;
41
}
42
}
43
44
return
$show =
true
;
45
}
46
47
return
$show;
48
}
49
}
ilHelpDisplayed
$DIC
$DIC
Definition:
xapitoken.php:46
Services
Help
GlobalScreen
classes
trait.ilHelpDisplayed.php
Generated on Wed Sep 3 2025 20:01:14 for ILIAS by
1.8.13 (using
Doxyfile
)