| 
    ILIAS
    release_10 Revision v10.1-43-ga1241a92c2f
    
   | 
  
Importer class for files. More...
 Inheritance diagram for ilTestImporter:
 Collaboration diagram for ilTestImporter:Public Member Functions | |
| __construct () | |
| importXmlRepresentation (string $a_entity, string $a_id, string $a_xml, ilImportMapping $a_mapping) | |
| addTaxonomyAndQuestionsMapping (array $question_id_mapping, int $new_obj_id, ilImportMapping $mapping) | |
| finalProcessing (ilImportMapping $a_mapping) | |
| importRandomQuestionSetConfig (ilObjTest $test_obj, ?string $xml_file, \ilImportMapping $a_mapping) | |
  Public Member Functions inherited from ilXmlImporter | |
| __construct () | |
| setImport (ilImport $a_val) | |
| getImport () | |
| init () | |
| setInstallId (string $a_val) | |
| getInstallId () | |
| setInstallUrl (string $a_val) | |
| getInstallUrl () | |
| setSchemaVersion (string $a_val) | |
| getSchemaVersion () | |
| setImportDirectory (string $a_val) | |
| getImportDirectory () | |
| setSkipEntities (array $a_val) | |
| getSkipEntities () | |
| exportedFromSameInstallation () | |
| importXmlRepresentation (string $a_entity, string $a_id, string $a_xml, ilImportMapping $a_mapping) | |
| finalProcessing (ilImportMapping $a_mapping) | |
| afterContainerImportProcessing (ilImportMapping $mapping) | |
Static Public Attributes | |
| static | $finallyProcessedTestsRegistry = [] | 
Protected Member Functions | |
| finalRandomTestTaxonomyProcessing (ilImportMapping $mapping, string $old_tst_obj_id, string $new_tst_obj_id, ilObjTest $test_obj) | |
| getNewMappedTaxonomyFilter (ilImportMapping $mapping, array $mapped_filter) | |
| importQuestionSkillAssignments (ilImportMapping $mapping, ilObjTest $test_obj, ?string $xml_file) | |
| importSkillLevelThresholds (ilImportMapping $mapping, ilAssQuestionSkillAssignmentList $assignment_list, ilObjTest $test_obj, ?string $xml_file) | |
Private Attributes | |
| readonly TestLogger | $logger | 
| readonly ilDBInterface | $db | 
| readonly ResourceStorage | $irss | 
Additional Inherited Members | |
  Protected Attributes inherited from ilXmlImporter | |
| array | $skip_entities = array() | 
| ilImport | $imp | 
| string | $install_id | 
| string | $install_url | 
| string | $schema_version | 
| string | $import_directory | 
| ilTestImporter::__construct | ( | ) | 
Definition at line 45 of file class.ilTestImporter.php.
References $DIC, ILIAS\GlobalScreen\Provider\__construct(), and ILIAS\Repository\logger().
 Here is the call graph for this function:| ilTestImporter::addTaxonomyAndQuestionsMapping | ( | array | $question_id_mapping, | 
| int | $new_obj_id, | ||
| ilImportMapping | $mapping | ||
| ) | 
Definition at line 150 of file class.ilTestImporter.php.
References ilImportMapping\addMapping().
Referenced by importXmlRepresentation().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilTestImporter::finalProcessing | ( | ilImportMapping | $a_mapping | ) | 
Definition at line 181 of file class.ilTestImporter.php.
References finalRandomTestTaxonomyProcessing(), ilObjectFactory\getInstanceByObjId(), and ilImportMapping\getMappingsOfEntity().
 Here is the call graph for this function:
      
  | 
  protected | 
Definition at line 203 of file class.ilTestImporter.php.
References ilImportMapping\getMapping(), getNewMappedTaxonomyFilter(), and ilObjTaxonomy\saveUsage().
Referenced by finalProcessing().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  protected | 
Definition at line 248 of file class.ilTestImporter.php.
References ilImportMapping\getMapping().
Referenced by finalRandomTestTaxonomyProcessing().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  protected | 
Definition at line 296 of file class.ilTestImporter.php.
References ilObject\getId(), ilXmlImporter\getInstallId(), ilObject\getObjectProperties(), and ilAssQuestionSkillAssignmentImportFails\registerFailedImports().
Referenced by importXmlRepresentation().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilTestImporter::importRandomQuestionSetConfig | ( | ilObjTest | $test_obj, | 
| ?string | $xml_file, | ||
| \ilImportMapping | $a_mapping | ||
| ) | 
Definition at line 284 of file class.ilTestImporter.php.
Referenced by importXmlRepresentation().
 Here is the caller graph for this function:
      
  | 
  protected | 
Definition at line 325 of file class.ilTestImporter.php.
References ilObject\getId(), ilXmlImporter\getInstallId(), ilObjTest\getTestId(), ilTestSkillLevelThresholdImportFails\registerFailedImports(), and ilObject\setOfflineStatus().
Referenced by importXmlRepresentation().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilTestImporter::importXmlRepresentation | ( | string | $a_entity, | 
| string | $a_id, | ||
| string | $a_xml, | ||
| ilImportMapping | $a_mapping | ||
| ) | 
Definition at line 55 of file class.ilTestImporter.php.
References $results, ilImportMapping\addMapping(), addTaxonomyAndQuestionsMapping(), ILIAS\TestQuestionPool\Import\buildImportDirectoriesFromContainerImport(), ILIAS\TestQuestionPool\Import\buildImportDirectoriesFromImportFile(), ILIAS\TestQuestionPool\Import\buildResultsFilePath(), ilSession\clear(), ilSession\get(), ilImportMapping\getAllMappings(), ilXmlImporter\getImportDirectory(), ilObjectFactory\getInstanceByObjId(), ilImportMapping\getMapping(), ilImportMapping\getMappingsOfEntity(), ilQTIParser\IL_MO_PARSE_QTI, importQuestionSkillAssignments(), importRandomQuestionSetConfig(), importSkillLevelThresholds(), ILIAS\Repository\int(), ILIAS\Repository\logger(), ilSession\set(), and ilQTIParser\setTestObject().
 Here is the call graph for this function:
      
  | 
  private | 
Definition at line 42 of file class.ilTestImporter.php.
      
  | 
  static | 
Definition at line 39 of file class.ilTestImporter.php.
      
  | 
  private | 
Definition at line 43 of file class.ilTestImporter.php.
      
  | 
  private | 
Definition at line 41 of file class.ilTestImporter.php.