4 include_once(
"./Services/COPage/classes/class.ilPageObject.php");
26 $this->mobs_contained = array();
27 $this->files_contained = array();
37 $this->scormlmid = $a_scormlmid;
47 return $this->scormlmid;
57 $this->glossary_id = $a_val;
90 include_once(
"./Services/Style/classes/class.ilPageLayout.php");
106 function update($a_validate =
true, $a_no_history =
false)
156 function exportXML(&$a_xml_writer, $a_mode =
"normal", $a_inst = 0)
161 $a_xml_writer->xmlStartTag(
"PageObject", $attrs);
167 $ilBench->start(
"ContentObjectExport",
"exportPageObject_XML_Meta");
169 $ilBench->stop(
"ContentObjectExport",
"exportPageObject_XML_Meta");
172 $ilBench->start(
"ContentObjectExport",
"exportPageObject_XML_PageContent");
174 $ilBench->stop(
"ContentObjectExport",
"exportPageObject_XML_PageContent");
179 $attrs[
"OriginId"] =
"il_".$a_inst.
180 "_pg_".$this->getId();
181 $a_xml_writer->xmlElement(
"PageAlias", $attrs);
185 $a_xml_writer->xmlEndTag(
"PageObject");
215 include_once(
"Services/MetaData/classes/class.ilMD2XML.php");
217 $md2xml->setExportMode(
true);
218 $md2xml->startExport();
219 $a_xml_writer->appendXML($md2xml->getXML());
251 $xml = str_replace(
"&",
"&",
$xml);
252 $a_xml_writer->appendXML(
$xml);
265 return $this->mobs_contained;
275 return $this->files_contained;
288 $path =
"//IntLink[@Type='GlossaryItem']";
290 for ($i=0; $i < count(
$res->nodeset); $i++)
292 $target =
$res->nodeset[$i]->get_attribute(
"Target");
294 $tarr = explode(
"_", $target);
295 $term_id = $tarr[count($tarr) - 1];
296 if (is_int(strpos($target,
"__")) && $term_id > 0)
298 include_once(
"./Modules/Glossary/classes/class.ilGlossaryTerm.php");
304 $res->nodeset[$i]->set_attribute(
"Target",
"il__git_".$new_id);