ILIAS  release_5-2 Revision v5.2.25-18-g3f80b828510
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  function getParentType()
22  {
23  return "gdf";
24  }
25 
36  function beforePageContentUpdate($a_page_content)
37  {
38  if ($a_page_content->getType() == "par")
39  {
40  include_once("./Modules/Glossary/classes/class.ilObjGlossary.php");
42  $a_page_content->autoLinkGlossaries($glos);
43  }
44  }
45 
46 }
47 ?>
beforePageContentUpdate($a_page_content)
Before page content update.
Class ilPageObject.
Glossary definition page object.
getParentType()
Get parent type.
static lookupAutoGlossaries($a_id)
Lookup auto glossaries.