Exemplo n.º 1
0
 /**
  * Before page content update
  *
  * Note: This one is "work in progress", currently only text paragraphs call this hook
  * It is called before the page content object invokes the update procedure of
  * ilPageObject
  *
  * @param
  * @return
  */
 function beforePageContentUpdate($a_page_content)
 {
     if ($a_page_content->getType() == "par") {
         include_once "./Modules/LearningModule/classes/class.ilObjContentObject.php";
         $glos = ilObjContentObject::lookupAutoGlossaries($this->getParentId());
         $a_page_content->autoLinkGlossaries($glos);
     }
 }