ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
Class ilOrgUnitSimpleImport. More...
Public Member Functions | |
simpleImport ($file_path) | |
simpleImportElement (SimpleXMLElement $o) | |
Public Member Functions inherited from ilOrgUnitImporter | |
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 11 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 131 of file class.ilOrgUnitSimpleImport.php.
References $DIC, $ilLog, $path, $ref_id, ilOrgUnitImporter\addWarning(), and Monolog\Handler\error_log().
Referenced by simpleImportElement().
ilOrgUnitSimpleImport::simpleImport | ( | $file_path | ) |
Definition at line 13 of file class.ilOrgUnitSimpleImport.php.
References $DIC, $lng, ilOrgUnitImporter\addError(), array, and simpleImportElement().
ilOrgUnitSimpleImport::simpleImportElement | ( | SimpleXMLElement | $o | ) |
Definition at line 30 of file class.ilOrgUnitSimpleImport.php.
References $DIC, $ilUser, $ref_id, $title, $tpl, ilObject\_hasUntrashedReference(), ilObject\_lookupObjIdByImportId(), ilObject\_lookupType(), ilOrgUnitImporter\addError(), ilOrgUnitImporter\addWarning(), array, ilOrgUnitImporter\buildRef(), ilObjOrgUnit\getRootOrgRefId(), moveObject(), and string.
Referenced by simpleImport().