ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Class ilOrgUnitSimpleImport. More...
Public Member Functions | |
simpleImport ($file_path) | |
simpleImportElement (SimpleXMLElement $o) | |
Public Member Functions inherited from ilOrgUnitImporter | |
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... | |
Protected Member Functions | |
moveObject ($ref_id, $parent_ref_id, $ou_id, $external_id) | |
Protected Member Functions inherited from ilOrgUnitImporter | |
buildRef ($id, $type) | |
Additional Inherited Members | |
Data Fields inherited from ilOrgUnitImporter | |
$errors = [] | |
$warnings = [] | |
$stats | |
Protected Attributes inherited from ilXmlImporter | |
$skip_entities = array() | |
$imp | |
Class ilOrgUnitSimpleImport.
Definition at line 10 of file class.ilOrgUnitSimpleImport.php.
|
protected |
$ref_id | int |
$parent_ref_id | int |
$ou_id | mixed This is only needed for displaying the warning. |
$external_id | mixed This is only needed for displaying the warning. |
Definition at line 143 of file class.ilOrgUnitSimpleImport.php.
References $DIC, $ilLog, $path, $tree, ilOrgUnitImporter\addWarning(), and Monolog\Handler\error_log().
Referenced by simpleImportElement().
ilOrgUnitSimpleImport::simpleImport | ( | $file_path | ) |
Definition at line 12 of file class.ilOrgUnitSimpleImport.php.
References $DIC, $lng, $xml, ilOrgUnitImporter\addError(), and simpleImportElement().
ilOrgUnitSimpleImport::simpleImportElement | ( | SimpleXMLElement | $o | ) |
Definition at line 30 of file class.ilOrgUnitSimpleImport.php.
References $action, $attributes, $description, $DIC, $ilUser, $title, $tpl, $tree, ilObject\_hasUntrashedReference(), ilObject\_lookupObjIdByImportId(), ilObject\_lookupType(), ilOrgUnitImporter\addError(), ilOrgUnitImporter\addWarning(), ilOrgUnitImporter\buildRef(), ilObjOrgUnit\getRootOrgRefId(), ilOrgUnitImporter\hasMoreThanOneMatch(), if, and moveObject().
Referenced by simpleImport().