|
ILIAS
Release_5_0_x_branch Revision 61816
|
Import class. More...
Inheritance diagram for ilImport:
Collaboration diagram for ilImport:Public Member Functions | |
| __construct ($a_target_id=0) | |
| Constructor. | |
| getMapping () | |
| Get mapping object. | |
| setEntityTypes ($a_val) | |
| Set entity types. | |
| getEntityTypes () | |
| Get entity types. | |
| addSkipEntity ($a_component, $a_entity, $skip=true) | |
| Add skip entity. | |
| setCurrentDataset ($a_val) | |
| Set currrent dataset. | |
| getCurrentDataset () | |
| Get currrent dataset. | |
| afterEntityTypes () | |
| After entity types are parsed. | |
| importRecord ($a_entity, $a_types, $a_record) | |
| After entity types are parsed. | |
| importEntity ($a_tmp_file, $a_filename, $a_entity, $a_component, $a_copy_file=false) | |
| Import entity. | |
| importObject ($a_new_obj, $a_tmp_file, $a_filename, $a_type, $a_comp="", $a_copy_file=false) | |
| Import repository object export file. | |
| processItemXml ($a_entity, $a_schema_version, $a_id, $a_xml, $a_install_id, $a_install_url) | |
| Process item xml. | |
Protected Member Functions | |
| doImportObject ($dir, $a_type, $a_component="", $a_tmpdir="") | |
| Import repository object export file. | |
Protected Attributes | |
| $install_id = "" | |
| $install_url = "" | |
| $entities = "" | |
| $mapping = null | |
| $skip_entity = array() | |
| ilImport::__construct | ( | $a_target_id = 0 | ) |
Constructor.
| int | id of parent container |
Reimplemented in ilImportContainer.
Definition at line 26 of file class.ilImport.php.
| ilImport::addSkipEntity | ( | $a_component, | |
| $a_entity, | |||
$skip = true |
|||
| ) |
Add skip entity.
| string | $a_val | component |
| string | $a_val | entity |
Definition at line 68 of file class.ilImport.php.
| ilImport::afterEntityTypes | ( | ) |
After entity types are parsed.
Definition at line 97 of file class.ilImport.php.
References getCurrentDataset().
Here is the call graph for this function:
|
protected |
Import repository object export file.
| string | absolute filename of temporary upload file |
Definition at line 160 of file class.ilImport.php.
References $GLOBALS, $success, and $tpl.
Referenced by importObject().
Here is the caller graph for this function:| ilImport::getCurrentDataset | ( | ) |
Get currrent dataset.
Definition at line 89 of file class.ilImport.php.
Referenced by afterEntityTypes(), and importRecord().
Here is the caller graph for this function:
|
final |
Get entity types.
Definition at line 57 of file class.ilImport.php.
| ilImport::getMapping | ( | ) |
Get mapping object.
Definition at line 37 of file class.ilImport.php.
References $mapping.
Referenced by ilImportContainer\createDummy(), and processItemXml().
Here is the caller graph for this function:
|
final |
Import entity.
Definition at line 116 of file class.ilImport.php.
References importObject().
Here is the call graph for this function:
|
final |
Import repository object export file.
| string | absolute filename of temporary upload file |
Definition at line 128 of file class.ilImport.php.
References $GLOBALS, ilUtil\delDir(), doImportObject(), ilUtil\ilTempnam(), ilUtil\makeDir(), ilUtil\moveUploadedFile(), and ilUtil\unzip().
Referenced by importEntity().
Here is the call graph for this function:
Here is the caller graph for this function:| ilImport::importRecord | ( | $a_entity, | |
| $a_types, | |||
| $a_record | |||
| ) |
After entity types are parsed.
Definition at line 107 of file class.ilImport.php.
References getCurrentDataset().
Here is the call graph for this function:| ilImport::processItemXml | ( | $a_entity, | |
| $a_schema_version, | |||
| $a_id, | |||
| $a_xml, | |||
| $a_install_id, | |||
| $a_install_url | |||
| ) |
Process item xml.
ilObjectDefinition $objDefinition
Definition at line 242 of file class.ilImport.php.
References $GLOBALS, and getMapping().
Here is the call graph for this function:| ilImport::setCurrentDataset | ( | $a_val | ) |
Set currrent dataset.
| object | currrent dataset |
Definition at line 78 of file class.ilImport.php.
|
final |
Set entity types.
| array | entity types |
Definition at line 47 of file class.ilImport.php.
|
protected |
Definition at line 15 of file class.ilImport.php.
|
protected |
Definition at line 13 of file class.ilImport.php.
|
protected |
Definition at line 14 of file class.ilImport.php.
|
protected |
Definition at line 17 of file class.ilImport.php.
Referenced by getMapping().
|
protected |
Definition at line 18 of file class.ilImport.php.