|
ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
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) | |
| 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 151 of file class.ilTestImporter.php.
References $new, $old, finalRandomTestTaxonomyProcessing(), and ilObjectFactory\getInstanceByObjId().
Here is the call graph for this function:
|
protected |
Definition at line 178 of file class.ilTestImporter.php.
References $GLOBALS, $ilDB, ilImportMapping\getMapping(), 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 253 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 260 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 | $mappingRegistry | |
| ilObjTest | $testOBJ | |
| string | $xmlfile |
Definition at line 282 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 267 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 316 of file class.ilTestImporter.php.
References $parser, ilObject\getId(), ilXmlImporter\getInstallId(), ilObjTest\getTestId(), and ilObjTest\setOnline().
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, $GLOBALS, $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 241 of file class.ilTestImporter.php.
References $GLOBALS, 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.