ILIAS
release_8 Revision v8.23
◀ ilDoc Overview
trait.ilHelpDisplayed.php
Go to the documentation of this file.
1
<?php
2
23
trait
ilHelpDisplayed
24
{
25
protected
function
showHelpTool(): bool
26
{
27
static
$show;
28
29
if
(!isset($show)) {
30
global
$DIC
;
31
32
$user = $DIC->user();
33
$settings
= $DIC->settings();
34
35
if
($user->getLanguage() !==
"de"
) {
36
return
$show =
false
;
37
}
38
39
if
(
$settings
->get(
"help_mode"
) ===
"2"
) {
40
return
$show =
false
;
41
}
42
43
if
(defined(
"OH_REF_ID"
) && (
int
) OH_REF_ID > 0) {
44
return
$show =
true
;
45
}
else
{
46
$module = (
int
)
$settings
->get(
"help_module"
);
47
if
($module === 0) {
48
return
$show =
false
;
49
}
50
}
51
52
return
$show =
true
;
53
}
54
55
return
$show;
56
}
57
}
ILIAS\LTI\ToolProvider\$settings
array $settings
Setting values (LTI parameters, custom parameters and local parameters).
Definition:
System.php:200
ilHelpDisplayed
$DIC
global $DIC
Definition:
feed.php:28
ILIAS\Repository\int
int(string $key)
Definition:
trait.BaseGUIRequest.php:61
Services
Help
GlobalScreen
classes
trait.ilHelpDisplayed.php
Generated on Wed Sep 3 2025 22:02:27 for ILIAS by
1.8.13 (using
Doxyfile
)