ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Class ilOrgUnitImporter. More...
Public Member Functions | |
hasMoreThanOneMatch ($external_id) | |
hasErrors () | |
hasWarnings () | |
addWarning ($lang_var, $import_id, $action=null) | |
addError ($lang_var, $import_id, $action=null) | |
getErrors () | |
getWarnings () | |
getStats () | |
importXmlRepresentation ($a_entity, $a_id, $a_xml, $a_mapping) | |
Public Member Functions inherited from ilXmlImporter | |
__construct () | |
Constructor. More... | |
setImport ($a_val) | |
Set import. More... | |
getImport () | |
Get import. More... | |
init () | |
Init. More... | |
setInstallId ($a_val) | |
Set installation id. More... | |
getInstallId () | |
Get installation id. More... | |
setInstallUrl ($a_val) | |
Set installation url. More... | |
getInstallUrl () | |
Get installation url. More... | |
setSchemaVersion ($a_val) | |
Set schema version. More... | |
getSchemaVersion () | |
Get schema version. More... | |
setImportDirectory ($a_val) | |
Set import directory. More... | |
getImportDirectory () | |
Get import directory. More... | |
setSkipEntities ($a_val) | |
Set skip entities. More... | |
getSkipEntities () | |
Get skip entities. More... | |
exportedFromSameInstallation () | |
Is exporting and importing installation identical? More... | |
importXmlRepresentation ($a_entity, $a_id, $a_xml, $a_mapping) | |
Import xml representation. More... | |
finalProcessing ($a_mapping) | |
Final processing. More... | |
afterContainerImportProcessing (ilImportMapping $mapping) | |
Called after all container objects have been implemented. More... | |
Data Fields | |
$errors = [] | |
$warnings = [] | |
$stats | |
Protected Member Functions | |
buildRef ($id, $type) | |
Additional Inherited Members | |
Protected Attributes inherited from ilXmlImporter | |
$skip_entities = array() | |
$imp | |
Class ilOrgUnitImporter.
Definition at line 11 of file class.ilOrgUnitImporter.php.
ilOrgUnitImporter::addError | ( | $lang_var, | |
$import_id, | |||
$action = null |
|||
) |
$lang_var | ||
$import_id | ||
null | $action |
Definition at line 125 of file class.ilOrgUnitImporter.php.
References $action.
Referenced by ilOrgUnitSimpleImport\simpleImport(), ilOrgUnitSimpleImport\simpleImportElement(), ilOrgUnitSimpleUserImport\simpleUserImport(), and ilOrgUnitSimpleUserImport\simpleUserImportElement().
ilOrgUnitImporter::addWarning | ( | $lang_var, | |
$import_id, | |||
$action = null |
|||
) |
$lang_var | ||
$import_id | ||
null | $action |
Definition at line 114 of file class.ilOrgUnitImporter.php.
References $action.
Referenced by ilOrgUnitSimpleImport\moveObject(), and ilOrgUnitSimpleImport\simpleImportElement().
|
protected |
$id | |
$type |
Definition at line 34 of file class.ilOrgUnitImporter.php.
References $id, $type, ilObjOrgUnit\_exists(), ilObject\_getAllReferences(), ilObject\_hasUntrashedReference(), ilObject\_isInTrash(), and ilObject\_lookupObjIdByImportId().
Referenced by ilOrgUnitSimpleImport\simpleImportElement(), and ilOrgUnitSimpleUserImport\simpleUserImportElement().
ilOrgUnitImporter::getErrors | ( | ) |
ilOrgUnitImporter::getStats | ( | ) |
ilOrgUnitImporter::getWarnings | ( | ) |
ilOrgUnitImporter::hasErrors | ( | ) |
Definition at line 94 of file class.ilOrgUnitImporter.php.
ilOrgUnitImporter::hasMoreThanOneMatch | ( | $external_id | ) |
string | $external_id |
Definition at line 70 of file class.ilOrgUnitImporter.php.
References $DIC, $ilDB, $query, and $res.
Referenced by ilOrgUnitSimpleImport\simpleImportElement().
ilOrgUnitImporter::hasWarnings | ( | ) |
Definition at line 103 of file class.ilOrgUnitImporter.php.
ilOrgUnitImporter::importXmlRepresentation | ( | $a_entity, | |
$a_id, | |||
$a_xml, | |||
$a_mapping | |||
) |
$a_entity | |
$a_id | |
$a_xml | |
$a_mapping | ilImportMapping |
Definition at line 168 of file class.ilOrgUnitImporter.php.
References ilObject2\_lookupType().
ilOrgUnitImporter::$errors = [] |
Definition at line 17 of file class.ilOrgUnitImporter.php.
Referenced by getErrors().
ilOrgUnitImporter::$stats |
Definition at line 25 of file class.ilOrgUnitImporter.php.
Referenced by getStats().
ilOrgUnitImporter::$warnings = [] |
Definition at line 21 of file class.ilOrgUnitImporter.php.
Referenced by getWarnings().