4include_once(
"./Services/Export/classes/class.ilXmlImporter.php");
 
   32        include_once 
'./Modules/Group/classes/class.ilObjGroup.php';
 
   33        if ($new_id = $a_mapping->getMapping(
'Services/Container', 
'objs', $a_id)) {
 
   36        #$this->group = ilObjectFactory::getInstanceByObjId($new_id,false); 
   39        elseif ($new_id = $a_mapping->getMapping(
'Services/Container', 
'refs', 0)) {
 
   41        } elseif (!$this->group instanceof 
ilObjGroup) {
 
   43            $this->group->create(
true);
 
   46        include_once 
'./Modules/Group/classes/class.ilGroupXMLParser.php';
 
   47        #$GLOBALS['DIC']['ilLog']->write($a_xml); 
   53            $a_mapping->addMapping(
'Modules/Group', 
'grp', $a_id, $this->group->getId());
 
   55            $GLOBALS[
'DIC']->logger()->grp()->warning(
'Parsing failed with message, "' . 
$e->getMessage() . 
'".');
 
   56        } 
catch (ilWebLinkXMLParserException 
$e) {
 
   57            $GLOBALS[
'DIC']->logger()->grp()->warning(
'Parsing failed with message, "' . 
$e->getMessage() . 
'".');
 
if(!defined('PATH_SEPARATOR')) $GLOBALS['_PEAR_default_error_mode']
An exception for terminatinating execution or to throw for unit testing.
importXmlRepresentation($a_entity, $a_id, $a_xml, $a_mapping)
Import XML.
static getInstanceByRefId($a_ref_id, $stop_on_error=true)
get an instance of an Ilias object by reference id
static _getAllReferences($a_id)
get all reference ids of object
SaxParserException thrown by ilSaxParser if property throwException is set.