ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
◀ 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
public
function
getParentType
()
22
{
23
return
"gdf"
;
24
}
25
36
public
function
beforePageContentUpdate
($a_page_content)
37
{
38
if
($a_page_content->getType() ==
"par"
) {
39
include_once(
"./Modules/Glossary/classes/class.ilObjGlossary.php"
);
40
$glos =
ilObjGlossary::lookupAutoGlossaries
($this->
getParentId
());
41
$a_page_content->autoLinkGlossaries($glos);
42
}
43
}
44
49
public
function
getRepoObjId
()
50
{
51
return
$this->
getParentId
();
52
}
53
}
ilPageObject\getParentId
getParentId()
Definition:
class.ilPageObject.php:527
ilGlossaryDefPage\beforePageContentUpdate
beforePageContentUpdate($a_page_content)
Before page content update.
Definition:
class.ilGlossaryDefPage.php:36
ilPageObject
Class ilPageObject.
Definition:
class.ilPageObject.php:48
ilGlossaryDefPage
Glossary definition page object.
Definition:
class.ilGlossaryDefPage.php:14
ilGlossaryDefPage\getParentType
getParentType()
Get parent type.
Definition:
class.ilGlossaryDefPage.php:21
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:49
php
ilObjGlossary\lookupAutoGlossaries
static lookupAutoGlossaries($a_id)
Lookup auto glossaries.
Definition:
class.ilObjGlossary.php:478
Modules
Glossary
classes
class.ilGlossaryDefPage.php
Generated on Thu Jan 30 2025 19:01:40 for ILIAS by
1.8.13 (using
Doxyfile
)