ILIAS  release_6 Revision v6.24-5-g0c8bfefb3b8
All Data Structures Namespaces Files Functions Variables Modules Pages
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 
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") {
36  $a_page_content->autoLinkGlossaries($glos);
37  }
38  }
39 
44  public function getRepoObjId()
45  {
46  return $this->getParentId();
47  }
48 }
beforePageContentUpdate($a_page_content)
Before page content update.
Class ilPageObject.
Glossary definition page object.
getParentType()
Get parent type.
getRepoObjId()
Get object id of repository object that contains this page, return 0 if page does not belong to a rep...
static lookupAutoGlossaries($a_id)
Lookup auto glossaries.