ILIAS  release_5-1 Revision 5.0.0-5477-g43f3e3fab5f
class.ilLMPage.php
Go to the documentation of this file.
1<?php
2
3/* Copyright (c) 1998-2013 ILIAS open source, Extended GPL, see docs/LICENSE */
4
5include_once("./Services/COPage/classes/class.ilPageObject.php");
6
15{
21 function getParentType()
22 {
23 return "lm";
24 }
25
33 {
34 $this->getPageConfig()->configureByObjectId($this->getParentId());
35 }
36
37
48 function beforePageContentUpdate($a_page_content)
49 {
50 if ($a_page_content->getType() == "par")
51 {
52 include_once("./Modules/LearningModule/classes/class.ilObjContentObject.php");
54 $a_page_content->autoLinkGlossaries($glos);
55 }
56 }
57
58}
59
60?>
Extension of ilPageObject for learning modules.
beforePageContentUpdate($a_page_content)
Before page content update.
afterConstructor()
After constructor.
getParentType()
Get parent type.
lookupAutoGlossaries($a_lm_id)
Lookup auto glossaries.
Class ilPageObject.
getPageConfig()
Get page config object.