3declare(strict_types=1);
23 public function init(): void
36 if ($new_id = $a_mapping->getMapping(
'Services/Container',
'objs', $a_id)) {
40 } elseif ($new_id = $a_mapping->getMapping(
'Services/Container',
'refs',
"0")) {
42 } elseif (!$this->group instanceof
ilObjGroup) {
44 $this->group->create();
51 $this->group->deleteMetaData();
53 $parser->startParsing();
54 $a_mapping->addMapping(
'Modules/Group',
'grp', $a_id, (
string) $this->group->getId());
56 $GLOBALS[
'DIC']->logger()->grp()->warning(
'Parsing failed with message, "' .
$e->getMessage() .
'".');
if(!defined('PATH_SEPARATOR')) $GLOBALS['_PEAR_default_error_mode']
importXmlRepresentation(string $a_entity, string $a_id, string $a_xml, ilImportMapping $a_mapping)
@inheritDoc
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
static getInstanceByRefId(int $ref_id, bool $stop_on_error=true)
get an instance of an Ilias object by reference id
static _getAllReferences(int $id)
get all reference ids for object ID
SaxParserException thrown by ilSaxParser if property throwException is set.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
if(!file_exists(getcwd() . '/ilias.ini.php'))
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...