ILIAS
release_7 Revision v7.30-3-g800a261c036
◀ ilDoc Overview
Main Page
Related Pages
Modules
+
Namespaces
Namespace List
+
Namespace Members
+
All
$
_
a
b
c
d
e
f
g
h
i
j
l
m
p
r
s
t
w
+
Functions
_
a
b
c
f
g
h
i
r
s
t
w
+
Variables
$
c
d
e
f
g
h
j
l
m
p
s
t
+
Data Structures
Data Structures
Data Structure Index
Class Hierarchy
+
Data Fields
+
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Variables
$
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Files
File List
+
Globals
+
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
+
Functions
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
+
Variables
$
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Examples
•
All
Data Structures
Namespaces
Files
Functions
Variables
Modules
Pages
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
global $DIC
Definition:
goto.php:24
Services
Help
GlobalScreen
classes
trait.ilHelpDisplayed.php
Generated on Thu Apr 10 2025 21:01:37 for ILIAS by
1.8.13 (using
Doxyfile
)