19declare(strict_types=1);
35 $this->
logger = $DIC->logger()->webr();
47 if ($new_id = $a_mapping->getMapping(
48 'components/ILIAS/Container',
55 'Invalid id given ' . $a_id
60 $this->
link->setType(
'webr');
61 $this->
link->create();
68 $a_mapping->addMapping(
69 'components/ILIAS/WebResource',
72 (
string) $this->
link->getId()
75 $a_mapping->addMapping(
76 'components/ILIAS/MetaData',
79 $this->
link->getId() .
':0:webr'
83 ': Parsing failed with message, "' . $e->getMessage() .
'".'
85 }
catch (ilWebLinkXMLParserException
$e) {
87 ': Parsing failed with message, "' . $e->getMessage() .
'".'
Component logger with individual log levels by component id.
static getInstanceByObjId(?int $obj_id, bool $stop_on_error=true)
get an instance of an Ilias object by object id
Object not found exception.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
importXmlRepresentation(string $a_entity, string $a_id, string $a_xml, ilImportMapping $a_mapping)
@inheritDoc
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc
link(string $caption, string $href, bool $new_viewport=false)
if(!file_exists('../ilias.ini.php'))