4 include_once(
"./Services/Export/classes/class.ilXmlImporter.php");
23 include_once
'Modules/Forum/classes/class.ilObjForum.php';
26 if ($new_id = $a_mapping->getMapping(
'Services/Container',
'objs', $a_id)) {
30 $newObj->setType(
'frm');
34 include_once
'Modules/Forum/classes/class.ilForumXMLParser.php';
41 $a_mapping->addMapping(
"Modules/Forum",
"frm", $a_id, $newObj->getId());
getSchemaVersion()
Get schema version.
getImportDirectory()
Get import directory.
Importer class for forums.
importXmlRepresentation($a_entity, $a_id, $a_xml, $a_mapping)
Import XML.
static getInstanceByObjId($a_obj_id, $stop_on_error=true)
get an instance of an Ilias object by object id
getInstallId()
Get installation id.