43         foreach ($maps as $old => $new) {
    44             if ($old != 
"new_id" && (
int) $old > 0) {
    45                 $newQstIds = $a_mapping->
getMapping(
"components/ILIAS/AssessmentQuestion", 
"qst", $old);
    47                 if ($newQstIds !== 
false) {
    48                     $qstIds = explode(
":", $newQstIds);
    49                     foreach ($qstIds as $qId) {
    50                         $qstInstance = $DIC->question()->getQuestionInstance($qId);
    51                         $qstInstance->setParentId($new);
    56                 $qstMappings = $a_mapping->
getMappingsOfEntity(
'components/ILIAS/AssessmentQuestion', 
'qst');
    58                 foreach ($qstMappings as $oldQstId => $newQstId) {
 This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
finalProcessing(ilImportMapping $a_mapping)
Final processing. 
 
importXmlRepresentation(string $a_entity, string $a_id, string $a_xml, ilImportMapping $a_mapping)
 
getMapping(string $a_comp, string $a_entity, string $a_old_id)
 
getMappingsOfEntity(string $a_comp, string $a_entity)
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...