ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
◀ ilDoc Overview
class.ilGlossaryDefPage.php
Go to the documentation of this file.
1
<?
php
2
/* Copyright (c) 1998-2013 ILIAS open source, Extended GPL, see docs/LICENSE */
3
4
include_once(
"./Services/COPage/classes/class.ilPageObject.php"
);
5
14
class
ilGlossaryDefPage
extends
ilPageObject
15
{
21
function
getParentType
()
22
{
23
return
"gdf"
;
24
}
25
36
function
beforePageContentUpdate
($a_page_content)
37
{
38
if
($a_page_content->getType() ==
"par"
)
39
{
40
include_once(
"./Modules/Glossary/classes/class.ilObjGlossary.php"
);
41
$glos =
ilObjGlossary::lookupAutoGlossaries
($this->
getParentId
());
42
$a_page_content->autoLinkGlossaries($glos);
43
}
44
}
45
46
}
47
?>
ilPageObject\getParentId
getParentId()
Definition:
class.ilPageObject.php:496
ilGlossaryDefPage\beforePageContentUpdate
beforePageContentUpdate($a_page_content)
Before page content update.
Definition:
class.ilGlossaryDefPage.php:36
ilPageObject
Class ilPageObject.
Definition:
class.ilPageObject.php:46
ilGlossaryDefPage
Glossary definition page object.
Definition:
class.ilGlossaryDefPage.php:14
ilGlossaryDefPage\getParentType
getParentType()
Get parent type.
Definition:
class.ilGlossaryDefPage.php:21
php
ilObjGlossary\lookupAutoGlossaries
static lookupAutoGlossaries($a_id)
Lookup auto glossaries.
Definition:
class.ilObjGlossary.php:453
Modules
Glossary
classes
class.ilGlossaryDefPage.php
Generated on Fri Jan 17 2025 19:00:59 for ILIAS by
1.8.13 (using
Doxyfile
)