|
ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Importer class for files. More...
Inheritance diagram for ilTestImporter:
Collaboration diagram for ilTestImporter:Public Member Functions | |
| importXmlRepresentation ($a_entity, $a_id, $a_xml, $a_mapping) | |
| Import XML. More... | |
| finalProcessing ($a_mapping) | |
| Final processing. More... | |
Public Member Functions inherited from ilXmlImporter | |
| __construct () | |
| Constructor. More... | |
| setImport ($a_val) | |
| Set import. More... | |
| getImport () | |
| Get import. More... | |
| init () | |
| Init. More... | |
| setInstallId ($a_val) | |
| Set installation id. More... | |
| getInstallId () | |
| Get installation id. More... | |
| setInstallUrl ($a_val) | |
| Set installation url. More... | |
| getInstallUrl () | |
| Get installation url. More... | |
| setSchemaVersion ($a_val) | |
| Set schema version. More... | |
| getSchemaVersion () | |
| Get schema version. More... | |
| setImportDirectory ($a_val) | |
| Set import directory. More... | |
| getImportDirectory () | |
| Get import directory. More... | |
| setSkipEntities ($a_val) | |
| Set skip entities. More... | |
| getSkipEntities () | |
| Get skip entities. More... | |
| exportedFromSameInstallation () | |
| Is exporting and importing installation identical? More... | |
| importXmlRepresentation ($a_entity, $a_id, $a_xml, $a_mapping) | |
| Import xml representation. More... | |
| finalProcessing ($a_mapping) | |
| Final processing. More... | |
| afterContainerImportProcessing (ilImportMapping $mapping) | |
| Called after all container objects have been implemented. More... | |
Static Public Attributes | |
| static | $finallyProcessedTestsRegistry = array() |
Protected Member Functions | |
| finalRandomTestTaxonomyProcessing (ilImportMapping $mapping, $oldTstObjId, $newTstObjId, ilObjTest $testOBJ) | |
| getNewMappedTaxonomyFilter (ilImportMapping $mapping, array $mappedFilter) | |
| parseXmlFileNames () | |
| Create qti and xml file name. More... | |
| importRandomQuestionSetConfig (ilObjTest $testOBJ, $xmlFile, $a_mapping) | |
| importQuestionSkillAssignments (ilImportMapping $mapping, ilObjTest $testOBJ, $xmlFile) | |
| importSkillLevelThresholds (ilImportMapping $mapping, ilAssQuestionSkillAssignmentList $assignmentList, ilObjTest $testOBJ, $xmlFile) | |
Private Member Functions | |
| getImportDirectoryContainer () | |
| getImportPackageName () | |
Additional Inherited Members | |
Protected Attributes inherited from ilXmlImporter | |
| $skip_entities = array() | |
| $imp | |
| ilTestImporter::finalProcessing | ( | $a_mapping | ) |
Final processing.
| ilImportMapping | $a_mapping |
Reimplemented from ilXmlImporter.
Definition at line 147 of file class.ilTestImporter.php.
References finalRandomTestTaxonomyProcessing(), and ilObjectFactory\getInstanceByObjId().
Here is the call graph for this function:
|
protected |
Definition at line 170 of file class.ilTestImporter.php.
References $DIC, $ilDB, 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 282 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 289 of file class.ilTestImporter.php.
References $name, and 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 230 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 | $testOBJ | |
| string | $xmlfile |
Definition at line 311 of file class.ilTestImporter.php.
References $parser, ilObject\getId(), ilXmlImporter\getInstallId(), and ilObjTest\setOnline().
Referenced by importXmlRepresentation().
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 $parser.
Referenced by importXmlRepresentation().
Here is the caller graph for this function:
|
protected |
| ilImportMapping | $mapping | |
| ilAssQuestionSkillAssignmentList | $assignmentList | |
| ilObjTest | $testOBJ | |
| $xmlFile |
Definition at line 344 of file class.ilTestImporter.php.
References $parser, ilObject\getId(), ilXmlImporter\getInstallId(), ilObjTest\getTestId(), and ilObject\setOfflineStatus().
Referenced by importXmlRepresentation().
Here is the call graph for this function:
Here is the caller graph for this function:| ilTestImporter::importXmlRepresentation | ( | $a_entity, | |
| $a_id, | |||
| $a_xml, | |||
| $a_mapping | |||
| ) |
Import XML.
return
Reimplemented from ilXmlImporter.
Definition at line 26 of file class.ilTestImporter.php.
References $_SESSION, $DIC, $result, $results, ilObjTest\_setImportDirectory(), ilXmlImporter\getImportDirectory(), getImportDirectoryContainer(), getImportPackageName(), ilObjectFactory\getInstanceByObjId(), IL_MO_PARSE_QTI, importQuestionSkillAssignments(), importRandomQuestionSetConfig(), importSkillLevelThresholds(), and parseXmlFileNames().
Here is the call graph for this function:
|
protected |
Create qti and xml file name.
Definition at line 269 of file class.ilTestImporter.php.
References $DIC, $xml, and ilXmlImporter\getImportDirectory().
Referenced by importXmlRepresentation().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 18 of file class.ilTestImporter.php.