| 
    ILIAS
    release_9 Revision v9.13-25-g2c18ec4c24f
    
   | 
  
Importer class for files. More...
 Inheritance diagram for ilTestImporter:
 Collaboration diagram for ilTestImporter:Static Public Attributes | |
| static | $finallyProcessedTestsRegistry = [] | 
Protected Member Functions | |
| finalRandomTestTaxonomyProcessing (ilImportMapping $mapping, string $oldTstObjId, string $newTstObjId, ilObjTest $test_obj) | |
| getNewMappedTaxonomyFilter (ilImportMapping $mapping, array $mappedFilter) | |
| parseXmlFileNames () | |
| Create qti and xml file name.  More... | |
| importQuestionSkillAssignments (ilImportMapping $mapping, ilObjTest $test_obj, $xmlFile) | |
| importSkillLevelThresholds (ilImportMapping $mapping, ilAssQuestionSkillAssignmentList $assignmentList, ilObjTest $test_obj, $xmlFile) | |
Private Member Functions | |
| getImportDirectoryContainer () | |
| getImportPackageName () | |
Private Attributes | |
| ilLogger | $log | 
| ilDBInterface | $db | 
| 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 41 of file class.ilTestImporter.php.
References $DIC, and ILIAS\MetaData\Repository\Validation\Data\__construct().
 Here is the call graph for this function:| ilTestImporter::addTexonomyAndQuestionsMapping | ( | array | $question_id_mapping, | 
| int | $new_obj_id, | ||
| ilImportMapping | $mapping | ||
| ) | 
Definition at line 144 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 | ) | 
Final processing.
| ilImportMapping | $a_mapping | 
Definition at line 177 of file class.ilTestImporter.php.
References finalRandomTestTaxonomyProcessing(), ilObjectFactory\getInstanceByObjId(), and ilImportMapping\getMappingsOfEntity().
 Here is the call graph for this function:
      
  | 
  protected | 
Definition at line 199 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:
      
  | 
  private | 
Definition at line 304 of file class.ilTestImporter.php.
References ilXmlImporter\getImportDirectory().
Referenced by importXmlRepresentation().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  private | 
Definition at line 311 of file class.ilTestImporter.php.
References ilXmlImporter\getImportDirectory().
Referenced by importXmlRepresentation().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  protected | 
| ilImportMapping | $mapping | |
| array | $mappedFilter | 
Definition at line 253 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 | 
| ilImportMapping | $mappingRegistry | |
| ilObjTest | $test_obj | |
| string | $xmlfile | 
Definition at line 333 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, | 
| $xmlFile, | |||
| $a_mapping | |||
| ) | 
Definition at line 318 of file class.ilTestImporter.php.
Referenced by importXmlRepresentation().
 Here is the caller graph for this function:
      
  | 
  protected | 
| ilImportMapping | $mapping | |
| ilAssQuestionSkillAssignmentList | $assignmentList | |
| ilObjTest | $test_obj | |
| $xmlFile | 
Definition at line 365 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 | ||
| ) | 
Import XML.
| string | $a_entity | |
| string | $a_id | |
| string | $a_xml | |
| ilImportMapping | $a_mapping | 
Definition at line 62 of file class.ilTestImporter.php.
References $results, ilObjTest\_setImportDirectory(), ilImportMapping\addMapping(), addTexonomyAndQuestionsMapping(), ilSession\get(), ilImportMapping\getAllMappings(), ilXmlImporter\getImportDirectory(), getImportDirectoryContainer(), getImportPackageName(), ilObjectFactory\getInstanceByObjId(), ilImportMapping\getMapping(), ilImportMapping\getMappingsOfEntity(), ilQTIParser\IL_MO_PARSE_QTI, importQuestionSkillAssignments(), importRandomQuestionSetConfig(), importSkillLevelThresholds(), ILIAS\Repository\int(), parseXmlFileNames(), ilSession\set(), and ilQTIParser\setTestObject().
 Here is the call graph for this function:
      
  | 
  protected | 
Create qti and xml file name.
Definition at line 292 of file class.ilTestImporter.php.
References ilXmlImporter\getImportDirectory().
Referenced by importXmlRepresentation().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  private | 
Definition at line 38 of file class.ilTestImporter.php.
      
  | 
  static | 
Definition at line 35 of file class.ilTestImporter.php.
      
  | 
  private | 
Definition at line 39 of file class.ilTestImporter.php.
      
  | 
  private | 
Definition at line 37 of file class.ilTestImporter.php.