ILIAS
release_8 Revision v8.19
|
Public Member Functions | |
__construct () | |
ilCmiXapiImporter constructor. More... | |
importXmlRepresentation (string $a_entity, string $a_id, string $a_xml, ilImportMapping $a_mapping) | |
Init the object creation from import. More... | |
init () | |
__destruct () | |
if single import then deleteImportDirectiry 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) | |
Data Fields | |
array | $manifest = [] |
Private Member Functions | |
prepareSingleObject () | |
Builds the CmiXapi Object. More... | |
prepareContainerObject () | |
Builds the CmiXapi Object. More... | |
prepareLocalSourceStorage () | |
Creates a folder in the data directory of the document root. More... | |
parseXmlFileProperties () | |
Parse xml file and set properties. More... | |
updateNewObj () | |
Finalize the new CmiXapi Object. More... | |
deleteImportDirectiry () | |
Delete the import directory. More... | |
getImportDirectorySingle () | |
Gets the relative path to the Filesystem::temp Folder. More... | |
getImportDirectoryContainer () | |
Gets the relative path to the Filesystem::temp Folder. More... | |
Private Attributes | |
array | $_moduleProperties = [] |
ilCmiXapiDataSet | $_dataset |
ilObject | $_cmixObj |
string | $_newId = null |
string | $_import_objId |
ilImportMapping | $_mapping |
string | $_relWebDir = 'lm_data/lm_' |
string | $_relImportDir = '' |
bool | $_isSingleImport = false |
ILIAS DI Container | $dic |
ILIAS Filesystem Filesystem | $filesystemWeb |
ILIAS Filesystem Filesystem | $filesystemTemp |
Additional Inherited Members | |
![]() | |
array | $skip_entities = array() |
ilImport | $imp |
string | $install_id |
string | $install_url |
string | $schema_version |
string | $import_directory |
Definition at line 30 of file class.ilCmiXapiImporter.php.
ilCmiXapiImporter::__construct | ( | ) |
ilCmiXapiImporter constructor.
Definition at line 60 of file class.ilCmiXapiImporter.php.
References $DIC, and ILIAS\GlobalScreen\Provider\__construct().
ilCmiXapiImporter::__destruct | ( | ) |
if single import then deleteImportDirectiry
Definition at line 289 of file class.ilCmiXapiImporter.php.
References deleteImportDirectiry().
|
private |
Delete the import directory.
Definition at line 250 of file class.ilCmiXapiImporter.php.
Referenced by __destruct().
|
private |
Gets the relative path to the Filesystem::temp Folder.
Definition at line 272 of file class.ilCmiXapiImporter.php.
References ilXmlImporter\getImportDirectory().
Referenced by importXmlRepresentation().
|
private |
Gets the relative path to the Filesystem::temp Folder.
Definition at line 260 of file class.ilCmiXapiImporter.php.
References ilXmlImporter\getImportDirectory().
Referenced by importXmlRepresentation().
ilCmiXapiImporter::importXmlRepresentation | ( | string | $a_entity, |
string | $a_id, | ||
string | $a_xml, | ||
ilImportMapping | $a_mapping | ||
) |
Init the object creation from import.
Definition at line 78 of file class.ilCmiXapiImporter.php.
References getImportDirectoryContainer(), getImportDirectorySingle(), ilImportMapping\getMapping(), parseXmlFileProperties(), prepareContainerObject(), prepareLocalSourceStorage(), prepareSingleObject(), and updateNewObj().
ilCmiXapiImporter::init | ( | ) |
Definition at line 282 of file class.ilCmiXapiImporter.php.
|
private |
Parse xml file and set properties.
Definition at line 166 of file class.ilCmiXapiImporter.php.
References ILIAS\LTI\ToolProvider\$key, and $xml.
Referenced by importXmlRepresentation().
|
private |
Builds the CmiXapi Object.
Definition at line 124 of file class.ilCmiXapiImporter.php.
References ilObjectFactory\getInstanceByObjId().
Referenced by importXmlRepresentation().
|
private |
Creates a folder in the data directory of the document root.
Definition at line 144 of file class.ilCmiXapiImporter.php.
References ilFileUtils\getWebspaceDir(), and ilFileUtils\unzip().
Referenced by importXmlRepresentation().
|
private |
Builds the CmiXapi Object.
Definition at line 101 of file class.ilCmiXapiImporter.php.
Referenced by importXmlRepresentation().
|
private |
Finalize the new CmiXapi Object.
Definition at line 185 of file class.ilCmiXapiImporter.php.
Referenced by importXmlRepresentation().
|
private |
Definition at line 38 of file class.ilCmiXapiImporter.php.
|
private |
Definition at line 36 of file class.ilCmiXapiImporter.php.
|
private |
Definition at line 42 of file class.ilCmiXapiImporter.php.
|
private |
Definition at line 50 of file class.ilCmiXapiImporter.php.
|
private |
Definition at line 44 of file class.ilCmiXapiImporter.php.
|
private |
Definition at line 32 of file class.ilCmiXapiImporter.php.
|
private |
Definition at line 40 of file class.ilCmiXapiImporter.php.
|
private |
Definition at line 48 of file class.ilCmiXapiImporter.php.
|
private |
Definition at line 46 of file class.ilCmiXapiImporter.php.
|
private |
Definition at line 52 of file class.ilCmiXapiImporter.php.
|
private |
Definition at line 56 of file class.ilCmiXapiImporter.php.
|
private |
Definition at line 54 of file class.ilCmiXapiImporter.php.
array ilCmiXapiImporter::$manifest = [] |
Definition at line 34 of file class.ilCmiXapiImporter.php.