/**
  * Export page html
  */
 function exportPageHTML($a_post_id)
 {
     global $lng;
     // page
     include_once "Services/Portfolio/classes/class.ilPortfolioPageGUI.php";
     $pgui = new ilPortfolioPageGUI($this->object->getId(), $a_post_id);
     $pgui->setOutputMode("offline");
     $page_content = $pgui->showPage();
     $this->writeExportFile("prtf_" . $a_post_id . ".html", $page_content, $pgui->getJsOnloadCode());
 }
 /**
  * Export page html
  */
 function exportPageHTML($a_post_id)
 {
     global $lng;
     // page
     include_once "Modules/Portfolio/classes/class.ilPortfolioPageGUI.php";
     $pgui = new ilPortfolioPageGUI($this->object->getId(), $a_post_id);
     $pgui->setOutputMode("offline");
     $pgui->setFullscreenLink("fullscreen.html");
     // #12930 - see page.xsl
     $page_content = $pgui->showPage();
     $material = $pgui->getExportMaterial();
     $this->export_material[] = $material;
     $this->writeExportFile("prtf_" . $a_post_id . ".html", $page_content, $pgui->getJsOnloadCode(), $material["js"]);
 }