ILIAS
release_6 Revision v6.24-5-g0c8bfefb3b8
◀ ilDoc Overview
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 Sun Aug 31 2025 20:00:57 for ILIAS by
1.8.13 (using
Doxyfile
)