ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
◀ ilDoc Overview
Main Page
Related Pages
Modules
+
Namespaces
Namespace List
+
Namespace Members
+
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
+
Functions
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
+
Variables
$
c
d
e
f
g
h
i
j
l
m
n
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
k
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
Typedefs
Examples
•
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Modules
Pages
class.ilLMPage.php
Go to the documentation of this file.
1
<?
php
2
3
/* Copyright (c) 1998-2013 ILIAS open source, Extended GPL, see docs/LICENSE */
4
5
include_once(
"./Services/COPage/classes/class.ilPageObject.php"
);
6
14
class
ilLMPage
extends
ilPageObject
15
{
21
public
function
getParentType
()
22
{
23
return
"lm"
;
24
}
25
32
public
function
afterConstructor
()
33
{
34
$this->
getPageConfig
()->configureByObjectId($this->
getParentId
());
35
}
36
37
48
public
function
beforePageContentUpdate
($a_page_content)
49
{
50
if
($a_page_content->getType() ==
"par"
) {
51
include_once(
"./Modules/LearningModule/classes/class.ilObjContentObject.php"
);
52
$glos =
ilObjContentObject::lookupAutoGlossaries
($this->
getParentId
());
53
$a_page_content->autoLinkGlossaries($glos);
54
}
55
}
56
}
ilLMPage\beforePageContentUpdate
beforePageContentUpdate($a_page_content)
Before page content update.
Definition:
class.ilLMPage.php:48
ilPageObject\getParentId
getParentId()
Definition:
class.ilPageObject.php:527
ilLMPage\afterConstructor
afterConstructor()
After constructor.
Definition:
class.ilLMPage.php:32
ilPageObject
Class ilPageObject.
Definition:
class.ilPageObject.php:48
ilObjContentObject\lookupAutoGlossaries
static lookupAutoGlossaries($a_lm_id)
Lookup auto glossaries.
Definition:
class.ilObjContentObject.php:3455
ilLMPage\getParentType
getParentType()
Get parent type.
Definition:
class.ilLMPage.php:21
ilPageObject\getPageConfig
getPageConfig()
Get page config object.
Definition:
class.ilPageObject.php:233
php
ilLMPage
Extension of ilPageObject for learning modules.
Definition:
class.ilLMPage.php:14
Modules
LearningModule
classes
class.ilLMPage.php
Generated on Thu Apr 17 2025 19:01:41 for ILIAS by
1.8.13 (using
Doxyfile
)