3 declare(strict_types=1);
    30     public function init(): void
    34     protected function initReference(
int $a_ref_id = 0): 
void    44     abstract protected function getType(): string;
    61         $objDefinition = $DIC[
"objDefinition"];
    62         $log = $DIC->logger()->root();
    64         if ($new_id = $a_mapping->
getMapping(
'components/ILIAS/Container', 
'objs', $a_id)) {
    66             $this->initReference(end($refs));
    69         elseif ($new_id = $a_mapping->
getMapping(
'components/ILIAS/Container', 
'refs', 
'0')) {
    70             $this->initReference((
int) $new_id);
    72             $this->initReference();
    79             $parser->setImportMapping($a_mapping);
    82             $parser->startParsing();
    85                 $objDefinition->getComponentForType($this->getType()),
    91             $log->error(__METHOD__ . 
': Parsing failed with message, "' . $e->getMessage() . 
'".');
 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...
 
importXmlRepresentation(string $a_entity, string $a_id, string $a_xml, ilImportMapping $a_mapping)
 
ilContainerReference $ref
 
static _getAllReferences(int $id)
get all reference ids for object ID 
 
SaxParserException thrown by ilSaxParser if property throwException is set. 
 
addMapping(string $a_comp, string $a_entity, string $a_old_id, string $a_new_id)
 
getMapping(string $a_comp, string $a_entity, string $a_old_id)
 
static getInstanceByRefId(int $ref_id, bool $stop_on_error=true)
get an instance of an Ilias object by reference id 
 
getType()
Get reference type. 
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
initParser(string $a_xml)
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...