/** * Get xml representation * * @param string entity * @param string target release * @param string id * @return string xml string */ public function getXmlRepresentation($a_entity, $a_schema_version, $a_id) { include_once './Modules/Glossary/classes/class.ilObjGlossary.php'; $glo = new ilObjGlossary($a_id, false); include_once './Modules/Glossary/classes/class.ilGlossaryExport.php'; $exp = new ilGlossaryExport($glo, 'xml'); $zip = $exp->buildExportFile(); }
/** * Get zipped xml file for glossary. */ function getXMLZip() { include_once "./Modules/Glossary/classes/class.ilGlossaryExport.php"; $glo_exp = new ilGlossaryExport($this); return $glo_exp->buildExportFile(); }
/** * create html package */ function exportHTML() { require_once "./Modules/Glossary/classes/class.ilGlossaryExport.php"; $glo_exp = new ilGlossaryExport($this->object, "html"); $glo_exp->buildExportFile(); //echo $this->tpl->get(); $this->ctrl->redirectByClass("ilexportgui", ""); }