| 
    ILIAS
    release_10 Revision v10.1-43-ga1241a92c2f
    
   | 
  
 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 = [] | 
| ILIAS Filesystem Util Archive LegacyArchives | $archives | 
| 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.
Definition at line 61 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 296 of file class.ilCmiXapiImporter.php.
References deleteImportDirectiry().
 Here is the call graph for this function:
      
  | 
  private | 
Delete the import directory.
Definition at line 257 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 279 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 267 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.
Definition at line 80 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 | ( | ) | 
Definition at line 289 of file class.ilCmiXapiImporter.php.
      
  | 
  private | 
Parse xml file and set properties.
Definition at line 170 of file class.ilCmiXapiImporter.php.
Referenced by importXmlRepresentation().
 Here is the caller graph for this function:
      
  | 
  private | 
Builds the CmiXapi Object.
Definition at line 126 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.
Definition at line 146 of file class.ilCmiXapiImporter.php.
References exit, and ilFileUtils\getWebspaceDir().
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 103 of file class.ilCmiXapiImporter.php.
Referenced by importXmlRepresentation().
 Here is the caller graph for this function:
      
  | 
  private | 
Finalize the new CmiXapi Object.
Definition at line 189 of file class.ilCmiXapiImporter.php.
Referenced by importXmlRepresentation().
 Here is the caller graph for this function:
      
  | 
  private | 
Definition at line 39 of file class.ilCmiXapiImporter.php.
      
  | 
  private | 
Definition at line 37 of file class.ilCmiXapiImporter.php.
      
  | 
  private | 
Definition at line 43 of file class.ilCmiXapiImporter.php.
      
  | 
  private | 
Definition at line 51 of file class.ilCmiXapiImporter.php.
      
  | 
  private | 
Definition at line 45 of file class.ilCmiXapiImporter.php.
      
  | 
  private | 
Definition at line 32 of file class.ilCmiXapiImporter.php.
      
  | 
  private | 
Definition at line 41 of file class.ilCmiXapiImporter.php.
      
  | 
  private | 
Definition at line 49 of file class.ilCmiXapiImporter.php.
      
  | 
  private | 
Definition at line 47 of file class.ilCmiXapiImporter.php.
      
  | 
  private | 
Definition at line 33 of file class.ilCmiXapiImporter.php.
      
  | 
  private | 
Definition at line 53 of file class.ilCmiXapiImporter.php.
      
  | 
  private | 
Definition at line 57 of file class.ilCmiXapiImporter.php.
      
  | 
  private | 
Definition at line 55 of file class.ilCmiXapiImporter.php.
| array ilCmiXapiImporter::$manifest = [] | 
Definition at line 35 of file class.ilCmiXapiImporter.php.