/** * export structure objects to fo * * @param object $a_xml_writer ilXmlWriter object that receives the * xml data */ function exportFOStructureObjects(&$a_xml_writer) { $childs = $this->lm_tree->getChilds($this->lm_tree->getRootId()); foreach ($childs as $child) { if ($child["type"] != "st") { continue; } $structure_obj = new ilStructureObject($this, $child["obj_id"]); $structure_obj->exportFO($a_xml_writer, $expLog); unset($structure_obj); } }