ILIAS
trunk Revision v11.0_alpha-2638-g80c1d007f79
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
Public Member Functions | |
__construct () | |
init () | |
setSurvey (ilObjSurvey $a_val) | |
Set current survey object (being imported). More... | |
getSurvey () | |
importXmlRepresentation (string $a_entity, string $a_id, string $a_xml, ilImportMapping $a_mapping) | |
Import XML. More... | |
![]() | |
__construct () | |
setImport (ilImport $a_val) | |
getImport () | |
init () | |
setInstallId (string $a_val) | |
getInstallId () | |
setInstallUrl (string $a_val) | |
getInstallUrl () | |
setSchemaVersion (string $a_val) | |
getSchemaVersion () | |
setImportDirectory (string $a_val) | |
getImportDirectory () | |
setSkipEntities (array $a_val) | |
getSkipEntities () | |
exportedFromSameInstallation () | |
importXmlRepresentation (string $a_entity, string $a_id, string $a_xml, ilImportMapping $a_mapping) | |
finalProcessing (ilImportMapping $a_mapping) | |
afterContainerImportProcessing (ilImportMapping $mapping) | |
Protected Member Functions | |
parseXmlFileNames () | |
Create qti and xml file name. More... | |
Protected Attributes | |
ilSurveyDataSet | $ds |
ilLogger | $log |
ilLogger | $svy_log |
ILIAS SurveyQuestionPool Export ImportManager | $spl_import_manager |
![]() | |
array | $skip_entities = array() |
ilImport | $imp |
string | $install_id |
string | $install_url |
string | $schema_version |
string | $import_directory |
Static Protected Attributes | |
static ilObjSurvey | $survey |
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.
ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.
If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning Importer class for files
Definition at line 23 of file class.ilSurveyImporter.php.
ilSurveyImporter::__construct | ( | ) |
Definition at line 31 of file class.ilSurveyImporter.php.
References $DIC, and ILIAS\GlobalScreen\Provider\__construct().
ilSurveyImporter::getSurvey | ( | ) |
Definition at line 65 of file class.ilSurveyImporter.php.
ilSurveyImporter::importXmlRepresentation | ( | string | $a_entity, |
string | $a_id, | ||
string | $a_xml, | ||
ilImportMapping | $a_mapping | ||
) |
Import XML.
Definition at line 76 of file class.ilSurveyImporter.php.
References $GLOBALS, ilImportMapping\addMapping(), ilXmlImporter\getImport(), ilObjectFactory\getInstanceByObjId(), ilImportMapping\getMapping(), ilXmlImporter\getSchemaVersion(), parseXmlFileNames(), and setSurvey().
ilSurveyImporter::init | ( | ) |
Definition at line 45 of file class.ilSurveyImporter.php.
References ilLoggerFactory\getLogger().
|
protected |
Create qti and xml file name.
Definition at line 137 of file class.ilSurveyImporter.php.
References $GLOBALS, and ilXmlImporter\getImportDirectory().
Referenced by importXmlRepresentation().
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)
Definition at line 60 of file class.ilSurveyImporter.php.
Referenced by importXmlRepresentation().
|
protected |
Definition at line 25 of file class.ilSurveyImporter.php.
|
protected |
Definition at line 26 of file class.ilSurveyImporter.php.
|
protected |
Definition at line 29 of file class.ilSurveyImporter.php.
|
staticprotected |
Definition at line 27 of file class.ilSurveyImporter.php.
|
protected |
Definition at line 28 of file class.ilSurveyImporter.php.