ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
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
4include_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}
An exception for terminatinating execution or to throw for unit testing.
Glossary definition page object.
getParentType()
Get parent type.
beforePageContentUpdate($a_page_content)
Before page content update.
static lookupAutoGlossaries($a_id)
Lookup auto glossaries.
Class ilPageObject.