|
ILIAS
release_7 Revision v7.30-3-g800a261c036
|
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 |
Importer class for files.
Definition at line 10 of file class.ilSurveyImporter.php.
| ilSurveyImporter::__construct | ( | ) |
Constructor.
Reimplemented from ilXmlImporter.
Definition at line 21 of file class.ilSurveyImporter.php.
References $DIC, and ILIAS\GlobalScreen\Provider\__construct().
Here is the call graph for this function:| ilSurveyImporter::getSurvey | ( | ) |
Get current survey object.
Definition at line 72 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 89 of file class.ilSurveyImporter.php.
References $_SESSION, $GLOBALS, SurveyQuestion\_instanciateQuestion(), ilRTE\_replaceMediaObjectImageSrc(), ilObjMediaObject\_saveTempFileAsMediaObject(), ilObjMediaObject\_saveUsage(), ilXmlImporter\getImport(), ilObjectFactory\getInstanceByObjId(), ilXmlImporter\getSchemaVersion(), IL_INST_ID, parseXmlFileNames(), and setSurvey().
Here is the call graph for this function:| ilSurveyImporter::init | ( | ) |
Init.
return
Reimplemented from ilXmlImporter.
Definition at line 45 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 192 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 62 of file class.ilSurveyImporter.php.
Referenced by importXmlRepresentation().
Here is the caller graph for this function:
|
protected |
Definition at line 15 of file class.ilSurveyImporter.php.
|
staticprotected |
Definition at line 32 of file class.ilSurveyImporter.php.
Referenced by getSurvey().
|
protected |
Definition at line 37 of file class.ilSurveyImporter.php.