ILIAS
release_6 Revision v6.24-5-g0c8bfefb3b8
◀ 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
s
t
w
+
Functions
_
a
b
c
f
g
h
i
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
class.ilGlossaryDefPage.php
Go to the documentation of this file.
1
<?php
2
3
/* Copyright (c) 1998-2019 ILIAS open source, Extended GPL, see docs/LICENSE */
4
10
class
ilGlossaryDefPage
extends
ilPageObject
11
{
17
public
function
getParentType
()
18
{
19
return
"gdf"
;
20
}
21
32
public
function
beforePageContentUpdate
($a_page_content)
33
{
34
if
($a_page_content->getType() ==
"par"
) {
35
$glos =
ilObjGlossary::lookupAutoGlossaries
($this->
getParentId
());
36
$a_page_content->autoLinkGlossaries($glos);
37
}
38
}
39
44
public
function
getRepoObjId
()
45
{
46
return
$this->
getParentId
();
47
}
48
}
ilPageObject\getParentId
getParentId()
Definition:
class.ilPageObject.php:524
ilGlossaryDefPage\beforePageContentUpdate
beforePageContentUpdate($a_page_content)
Before page content update.
Definition:
class.ilGlossaryDefPage.php:32
ilPageObject
Class ilPageObject.
Definition:
class.ilPageObject.php:45
ilGlossaryDefPage
Glossary definition page object.
Definition:
class.ilGlossaryDefPage.php:10
ilGlossaryDefPage\getParentType
getParentType()
Get parent type.
Definition:
class.ilGlossaryDefPage.php:17
ilGlossaryDefPage\getRepoObjId
getRepoObjId()
Get object id of repository object that contains this page, return 0 if page does not belong to a rep...
Definition:
class.ilGlossaryDefPage.php:44
ilObjGlossary\lookupAutoGlossaries
static lookupAutoGlossaries($a_id)
Lookup auto glossaries.
Definition:
class.ilObjGlossary.php:465
Modules
Glossary
classes
class.ilGlossaryDefPage.php
Generated on Fri Apr 4 2025 20:01:03 for ILIAS by
1.8.13 (using
Doxyfile
)