ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
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 145 of file class.ilTestQuestionPoolImporter.php.
References ilObjTaxonomy\saveUsage().
|
private |
Definition at line 191 of file class.ilTestQuestionPoolImporter.php.
References ilXmlImporter\getImportDirectory().
Referenced by importXmlRepresentation().
|
private |
Definition at line 198 of file class.ilTestQuestionPoolImporter.php.
References $name, and ilXmlImporter\getImportDirectory().
Referenced by importXmlRepresentation().
|
protected |
Definition at line 205 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, $DIC, $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 178 of file class.ilTestQuestionPoolImporter.php.
References $DIC, $xml, and ilXmlImporter\getImportDirectory().
Referenced by importXmlRepresentation().
|
private |
Definition at line 19 of file class.ilTestQuestionPoolImporter.php.