|
ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Importer class for files. More...
Inheritance diagram for ilSurveyImporter:
Collaboration diagram for ilSurveyImporter:Public Member Functions | |
| __construct () | |
| Constructor. More... | |
| init () | |
| Init. More... | |
| setSurvey (ilObjSurvey $a_val) | |
| Set current survey object (being imported). More... | |
| getSurvey () | |
| Get current survey object. More... | |
| importXmlRepresentation ($a_entity, $a_id, $a_xml, $a_mapping) | |
| Import XML. 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... | |
Protected Attributes | |
| $log | |
| $svy_log | |
Protected Attributes inherited from ilXmlImporter | |
| $skip_entities = array() | |
| $imp | |
Static Protected Attributes | |
| static | $survey |
| ilSurveyImporter::__construct | ( | ) |
Constructor.
Reimplemented from ilXmlImporter.
Definition at line 24 of file class.ilSurveyImporter.php.
References $DIC.
| ilSurveyImporter::getSurvey | ( | ) |
Get current survey object.
Definition at line 76 of file class.ilSurveyImporter.php.
References $survey.
| ilSurveyImporter::importXmlRepresentation | ( | $a_entity, | |
| $a_id, | |||
| $a_xml, | |||
| $a_mapping | |||
| ) |
Import XML.
| $a_entity | ||
| $a_id | ||
| $a_xml | ||
| ilImportMapping | $a_mapping |
Reimplemented from ilXmlImporter.
Definition at line 93 of file class.ilSurveyImporter.php.
References $_SESSION, $GLOBALS, $parser, SurveyQuestion\_instanciateQuestion(), ilRTE\_replaceMediaObjectImageSrc(), ilObjMediaObject\_saveTempFileAsMediaObject(), ilObjMediaObject\_saveUsage(), League\Flysystem\getConfig(), ilXmlImporter\getImport(), ilObjectFactory\getInstanceByObjId(), ilXmlImporter\getSchemaVersion(), parseXmlFileNames(), and setSurvey().
Here is the call graph for this function:| ilSurveyImporter::init | ( | ) |
Init.
return
Reimplemented from ilXmlImporter.
Definition at line 48 of file class.ilSurveyImporter.php.
References ilLoggerFactory\getLogger().
Here is the call graph for this function:
|
protected |
Create qti and xml file name.
Definition at line 201 of file class.ilSurveyImporter.php.
References $GLOBALS, $xml, and ilXmlImporter\getImportDirectory().
Referenced by importXmlRepresentation().
Here is the call graph for this function:
Here is the caller graph for this function:| ilSurveyImporter::setSurvey | ( | ilObjSurvey | $a_val | ) |
Set current survey object (being imported).
This is done statically, since the survey import uses multiple input files being processed for every survey and all of these need the current survey object (ilSurveyImporter is intantiated multiple times)
| ilObjSurvey | $a_val | survey |
Definition at line 66 of file class.ilSurveyImporter.php.
Referenced by importXmlRepresentation().
Here is the caller graph for this function:
|
protected |
Definition at line 18 of file class.ilSurveyImporter.php.
|
staticprotected |
Definition at line 35 of file class.ilSurveyImporter.php.
Referenced by getSurvey().
|
protected |
Definition at line 40 of file class.ilSurveyImporter.php.