ILIAS
release_8 Revision v8.19
◀ 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
n
o
p
r
s
t
u
v
w
x
+
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
j
l
m
p
s
t
u
+
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
r
s
t
u
v
w
x
z
+
Functions
_
a
b
c
d
e
g
h
i
m
n
p
r
s
t
u
v
x
+
Variables
$
a
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
z
Examples
•
All
Data Structures
Namespaces
Files
Functions
Variables
Modules
Pages
class.ilGlossaryDefPageGUI.php
Go to the documentation of this file.
1
<?php
2
26
class
ilGlossaryDefPageGUI
extends
ilPageObjectGUI
27
{
28
protected
?
ilObjGlossary
$glossary
= null;
29
30
public
function
__construct
(
31
int
$a_id = 0,
32
int
$a_old_nr = 0
33
) {
34
parent::__construct
(
"gdf"
, $a_id, $a_old_nr);
35
}
36
37
public
function
setGlossary
(
ilObjGlossary
$a_val): void
38
{
39
$this->glossary = $a_val;
40
}
41
42
public
function
getGlossary
():
ilObjGlossary
43
{
44
return
$this->glossary
;
45
}
46
47
public
function
postOutputProcessing
(
string
$a_output): string
48
{
49
if
($this->
getOutputMode
() ==
"print"
&& !is_null($this->glossary)) {
50
$term_id =
ilGlossaryDefinition::_lookupTermId
($this->
getId
());
51
$mdgui =
new
ilObjectMetaDataGUI
($this->glossary,
"term"
, $term_id);
52
$md = $mdgui->getKeyValueList();
53
if
($md !=
""
) {
54
$a_output = str_replace(
"<!--COPage-PageTop-->"
,
"<p>"
. $md .
"</p>"
, $a_output);
55
}
56
}
57
58
return
$a_output;
59
}
60
61
public
function
finishEditing
(): void
62
{
63
$this->
ctrl
->redirectByClass(
"ilObjGlossaryGUI"
,
"listTerms"
);
64
}
65
}
ilObjectMetaDataGUI
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition:
class.ilObjectMetaDataGUI.php:29
ilObjGlossary
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition:
class.ilObjGlossary.php:22
ilPageObjectGUI
Class ilPageObjectGUI.
Definition:
class.ilPageObjectGUI.php:33
ilGlossaryDefPageGUI\finishEditing
finishEditing()
Definition:
class.ilGlossaryDefPageGUI.php:61
ilPageObjectGUI\getId
getId()
Definition:
class.ilPageObjectGUI.php:295
ILIAS\Repository\ctrl
ctrl()
Definition:
trait.GlobalDICGUIServices.php:52
ilGlossaryDefPageGUI\setGlossary
setGlossary(ilObjGlossary $a_val)
Definition:
class.ilGlossaryDefPageGUI.php:37
ilPageObjectGUI\getOutputMode
getOutputMode()
Definition:
class.ilPageObjectGUI.php:368
ilGlossaryDefPageGUI\getGlossary
getGlossary()
Definition:
class.ilGlossaryDefPageGUI.php:42
ilGlossaryDefPageGUI\postOutputProcessing
postOutputProcessing(string $a_output)
Definition:
class.ilGlossaryDefPageGUI.php:47
ilGlossaryDefinition\_lookupTermId
static _lookupTermId(int $a_def_id)
Looks up term id for a definition id.
Definition:
class.ilGlossaryDefinition.php:549
ILIAS\GlobalScreen\Provider\__construct
__construct(Container $dic, ilPlugin $plugin)
Definition:
PluginProviderHelper.php:37
ilGlossaryDefPageGUI
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition:
class.ilGlossaryDefPageGUI.php:26
ilGlossaryDefPageGUI\$glossary
ilObjGlossary $glossary
Definition:
class.ilGlossaryDefPageGUI.php:28
ilGlossaryDefPageGUI\__construct
__construct(int $a_id=0, int $a_old_nr=0)
Definition:
class.ilGlossaryDefPageGUI.php:30
Modules
Glossary
Definition
class.ilGlossaryDefPageGUI.php
Generated on Sun Apr 13 2025 22:01:32 for ILIAS by
1.8.13 (using
Doxyfile
)