4include_once(
"./Services/Export/classes/class.ilXmlImporter.php");
 
   32        include_once 
'./Modules/Folder/classes/class.ilObjFolder.php';
 
   33        if ($new_id = $a_mapping->getMapping(
'Services/Container', 
'objs', $a_id)) {
 
   36            include_once 
'./Modules/WebResource/classes/class.ilObjLinkResource.php';
 
   38            $this->link->setType(
'webr');
 
   39            $this->link->create(
true);
 
   43            include_once 
'./Modules/WebResource/classes/class.ilWebLinkXmlParser.php';
 
   47            $a_mapping->addMapping(
'Modules/WebResource', 
'webr', $a_id, $this->link->getId());
 
   49            $GLOBALS[
'DIC']->logger()->webr()->error(
': Parsing failed with message, "' . 
$e->getMessage() . 
'".');
 
   50        } 
catch (ilWebLinkXMLParserException 
$e) {
 
   51            $GLOBALS[
'DIC']->logger()->error(
': 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.
static getInstanceByObjId($a_obj_id, $stop_on_error=true)
get an instance of an Ilias object by object id
SaxParserException thrown by ilSaxParser if property throwException is set.
XML parser for weblink xml.
Webresource xml importer.
importXmlRepresentation($a_entity, $a_id, $a_xml, $a_mapping)
Import XML.