ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
◀ 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
}
ilPageObject\getParentId
getParentId()
Definition:
class.ilPageObject.php:529
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
ilObjGlossary\lookupAutoGlossaries
static lookupAutoGlossaries($a_id)
Lookup auto glossaries.
Definition:
class.ilObjGlossary.php:459
Modules
Glossary
classes
class.ilGlossaryDefPage.php
Generated on Sat Jan 18 2025 19:01:16 for ILIAS by
1.8.13 (using
Doxyfile
)