ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
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 
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");
41  $a_page_content->autoLinkGlossaries($glos);
42  }
43  }
44 
49  public function getRepoObjId()
50  {
51  return $this->getParentId();
52  }
53 }
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.