Пример #1
0
 /**
  * All links to a specific page
  */
 function whatLinksHere()
 {
     global $tpl;
     include_once "./Modules/Wiki/classes/class.ilWikiPagesTableGUI.php";
     $this->setSideBlock($_GET["wpg_id"]);
     $table_gui = new ilWikiPagesTableGUI($this, "whatLinksHere", $this->getWikiPage()->getWikiId(), IL_WIKI_WHAT_LINKS_HERE, $_GET["wpg_id"]);
     $tpl->setContent($table_gui->getHTML());
 }
Пример #2
0
 /**
  * Latest pages
  */
 function newPagesObject()
 {
     global $tpl;
     $this->checkPermission("read");
     include_once "./Modules/Wiki/classes/class.ilWikiPagesTableGUI.php";
     $this->addPagesSubTabs();
     $table_gui = new ilWikiPagesTableGUI($this, "newPages", $this->object->getId(), IL_WIKI_NEW_PAGES);
     $this->setSideBlock();
     $tpl->setContent($table_gui->getHTML());
 }