4 require_once
'Services/Export/classes/class.ilXmlImporter.php';
19 require_once
'Modules/Chatroom/classes/class.ilObjChatroom.php';
21 if ($new_id = $a_mapping->getMapping(
'Services/Container',
'objs', $a_id)) {
25 $newObj->setType(
'chtr');
29 require_once
'Modules/Chatroom/classes/class.ilChatroomXMLParser.php';
34 $a_mapping->addMapping(
'Modules/Chatroom',
'chtr', $a_id, $newObj->getId());
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.
Class ilChatroomXMLParser.
Class ilChatroomImporter.