ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
Importer class for question pools. More...
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... | |
Protected Member Functions | |
parseXmlFileNames () | |
Create qti and xml file name. More... | |
importQuestionSkillAssignments ($xmlFile, ilImportMapping $mappingRegistry, $targetParentObjId) | |
Private Member Functions | |
getImportDirectoryContainer () | |
getImportPackageName () | |
Private Attributes | |
$poolOBJ | |
Additional Inherited Members | |
Protected Attributes inherited from ilXmlImporter | |
$skip_entities = array() | |
$imp | |
Importer class for question pools.
Definition at line 14 of file class.ilTestQuestionPoolImporter.php.
ilTestQuestionPoolImporter::finalProcessing | ( | $a_mapping | ) |
Final processing.
ilImportMapping | $a_mapping |
Definition at line 146 of file class.ilTestQuestionPoolImporter.php.
References $new, $old, and ilObjTaxonomy\saveUsage().
|
private |
Definition at line 197 of file class.ilTestQuestionPoolImporter.php.
References ilXmlImporter\getImportDirectory().
Referenced by importXmlRepresentation().
|
private |
Definition at line 204 of file class.ilTestQuestionPoolImporter.php.
References ilXmlImporter\getImportDirectory().
Referenced by importXmlRepresentation().
|
protected |
Definition at line 211 of file class.ilTestQuestionPoolImporter.php.
References $parser, and ilXmlImporter\getInstallId().
Referenced by importXmlRepresentation().
ilTestQuestionPoolImporter::importXmlRepresentation | ( | $a_entity, | |
$a_id, | |||
$a_xml, | |||
$a_mapping | |||
) |
Import XML.
Definition at line 27 of file class.ilTestQuestionPoolImporter.php.
References $_POST, $_SESSION, $GLOBALS, $result, ilObjQuestionPool\_setImportDirectory(), ilXmlImporter\getImportDirectory(), getImportDirectoryContainer(), getImportPackageName(), ilObjectFactory\getInstanceByObjId(), IL_MO_PARSE_QTI, importQuestionSkillAssignments(), and parseXmlFileNames().
|
protected |
Create qti and xml file name.
Definition at line 185 of file class.ilTestQuestionPoolImporter.php.
References $GLOBALS, array, and ilXmlImporter\getImportDirectory().
Referenced by importXmlRepresentation().
|
private |
Definition at line 19 of file class.ilTestQuestionPoolImporter.php.