ILIAS
eassessment Revision 61809
|
Import class. More...
Public Member Functions | |
__construct ($a_target_id=0) | |
Constructor. | |
getMapping () | |
Get mapping object. | |
setEntityTypes ($a_val) | |
Set entity types. | |
getEntityTypes () | |
Get entity types. | |
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. | |
importObject ($a_new_obj, $a_tmp_file, $a_filename, $a_type) | |
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) | |
Import repository object export file. |
Protected Attributes | |
$install_id = "" | |
$install_url = "" | |
$entities = "" | |
$mapping = null |
ilImport::__construct | ( | $a_target_id = 0 | ) |
Constructor.
int | id of parent container |
Reimplemented in ilImportContainer.
Definition at line 25 of file class.ilImport.php.
ilImport::afterEntityTypes | ( | ) |
After entity types are parsed.
Definition at line 84 of file class.ilImport.php.
References getCurrentDataset().
|
protected |
Import repository object export file.
string | absolute filename of temporary upload file |
Reimplemented in ilImportContainer.
Definition at line 129 of file class.ilImport.php.
Referenced by importObject().
ilImport::getCurrentDataset | ( | ) |
Get currrent dataset.
Definition at line 76 of file class.ilImport.php.
Referenced by afterEntityTypes(), and importRecord().
|
final |
Get entity types.
Definition at line 56 of file class.ilImport.php.
ilImport::getMapping | ( | ) |
Get mapping object.
Definition at line 36 of file class.ilImport.php.
References $mapping.
Referenced by ilImportContainer\createDummy(), and processItemXml().
|
final |
Import repository object export file.
string | absolute filename of temporary upload file |
Definition at line 105 of file class.ilImport.php.
References $dir, $GLOBALS, ilUtil\delDir(), doImportObject(), ilUtil\ilTempnam(), ilUtil\makeDir(), ilUtil\moveUploadedFile(), and ilUtil\unzip().
ilImport::importRecord | ( | $a_entity, | |
$a_types, | |||
$a_record | |||
) |
After entity types are parsed.
Definition at line 94 of file class.ilImport.php.
References getCurrentDataset().
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 186 of file class.ilImport.php.
References $GLOBALS, and getMapping().
ilImport::setCurrentDataset | ( | $a_val | ) |
Set currrent dataset.
object | currrent dataset |
Definition at line 66 of file class.ilImport.php.
|
final |
Set entity types.
array | entity types |
Definition at line 46 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().