|
ILIAS
release_8 Revision v8.24
|
Inheritance diagram for ilCmiXapiImporter:
Collaboration diagram for ilCmiXapiImporter: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... | |
Public Member Functions inherited from ilXmlImporter | |
| __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 | |
Protected Attributes inherited from ilXmlImporter | |
| 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.
Reimplemented from ilXmlImporter.
Definition at line 60 of file class.ilCmiXapiImporter.php.
References $DIC, and ILIAS\GlobalScreen\Provider\__construct().
Here is the call graph for this function:| ilCmiXapiImporter::__destruct | ( | ) |
if single import then deleteImportDirectiry
Definition at line 289 of file class.ilCmiXapiImporter.php.
References deleteImportDirectiry().
Here is the call graph for this function:
|
private |
Delete the import directory.
ILIAS\Filesystem\Exception\FileNotFoundException
ILIAS\Filesystem\Exception\IOException
Definition at line 250 of file class.ilCmiXapiImporter.php.
Referenced by __destruct().
Here is the caller graph for this function:
|
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().
Here is the call graph for this function:
Here is the caller graph for this function:
|
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().
Here is the call graph for this function:
Here is the caller graph for this function:| ilCmiXapiImporter::importXmlRepresentation | ( | string | $a_entity, |
| string | $a_id, | ||
| string | $a_xml, | ||
| ilImportMapping | $a_mapping | ||
| ) |
Init the object creation from import.
ILIAS\Filesystem\Exception\FileNotFoundException
ILIAS\Filesystem\Exception\IOException
Reimplemented from ilXmlImporter.
Definition at line 78 of file class.ilCmiXapiImporter.php.
References getImportDirectoryContainer(), getImportDirectorySingle(), ilImportMapping\getMapping(), parseXmlFileProperties(), prepareContainerObject(), prepareLocalSourceStorage(), prepareSingleObject(), and updateNewObj().
Here is the call graph for this function:| ilCmiXapiImporter::init | ( | ) |
Reimplemented from ilXmlImporter.
Definition at line 282 of file class.ilCmiXapiImporter.php.
|
private |
Parse xml file and set properties.
ILIAS\Filesystem\Exception\FileNotFoundException
ILIAS\Filesystem\Exception\IOException
Definition at line 166 of file class.ilCmiXapiImporter.php.
References ILIAS\LTI\ToolProvider\$key, and $xml.
Referenced by importXmlRepresentation().
Here is the caller graph for this function:
|
private |
Builds the CmiXapi Object.
Definition at line 124 of file class.ilCmiXapiImporter.php.
References ilObjectFactory\getInstanceByObjId().
Referenced by importXmlRepresentation().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Creates a folder in the data directory of the document root.
ILIAS\Filesystem\Exception\FileNotFoundException
ILIAS\Filesystem\Exception\IOException
Definition at line 144 of file class.ilCmiXapiImporter.php.
References ilFileUtils\getWebspaceDir(), and ilFileUtils\unzip().
Referenced by importXmlRepresentation().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Builds the CmiXapi Object.
Definition at line 101 of file class.ilCmiXapiImporter.php.
References $_import_objId.
Referenced by importXmlRepresentation().
Here is the caller graph for this function:
|
private |
Finalize the new CmiXapi Object.
Definition at line 185 of file class.ilCmiXapiImporter.php.
Referenced by importXmlRepresentation().
Here is the caller graph for this function:
|
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.
Referenced by prepareSingleObject().
|
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.