ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
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 
5 include_once("./Services/COPage/classes/class.ilPageObject.php");
6 
14 class ilLMPage extends ilPageObject
15 {
21  public function getParentType()
22  {
23  return "lm";
24  }
25 
32  public function afterConstructor()
33  {
34  $this->getPageConfig()->configureByObjectId($this->getParentId());
35  }
36 
37 
48  public function beforePageContentUpdate($a_page_content)
49  {
50  if ($a_page_content->getType() == "par") {
51  include_once("./Modules/LearningModule/classes/class.ilObjContentObject.php");
53  $a_page_content->autoLinkGlossaries($glos);
54  }
55  }
56 }
beforePageContentUpdate($a_page_content)
Before page content update.
afterConstructor()
After constructor.
Class ilPageObject.
static lookupAutoGlossaries($a_lm_id)
Lookup auto glossaries.
getParentType()
Get parent type.
getPageConfig()
Get page config object.
Extension of ilPageObject for learning modules.