ILIAS
release_8 Revision v8.19
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
Public Member Functions | |
simpleImport (string $file_path) | |
simpleImportElement (SimpleXMLElement $o) | |
![]() | |
__construct () | |
hasMoreThanOneMatch (string $external_id) | |
hasErrors () | |
hasWarnings () | |
addWarning (string $lang_var, string $import_id, ?string $action=null) | |
addError (string $lang_var, string $import_id, ?string $action=null) | |
getErrors () | |
getWarnings () | |
getStats () | |
importXmlRepresentation (string $a_entity, string $a_id, string $a_xml, ilImportMapping $a_mapping) | |
![]() | |
__construct () | |
setImport (ilImport $a_val) | |
getImport () | |
init () | |
setInstallId (string $a_val) | |
getInstallId () | |
setInstallUrl (string $a_val) | |
getInstallUrl () | |
setSchemaVersion (string $a_val) | |
getSchemaVersion () | |
setImportDirectory (string $a_val) | |
getImportDirectory () | |
setSkipEntities (array $a_val) | |
getSkipEntities () | |
exportedFromSameInstallation () | |
importXmlRepresentation (string $a_entity, string $a_id, string $a_xml, ilImportMapping $a_mapping) | |
finalProcessing (ilImportMapping $a_mapping) | |
afterContainerImportProcessing (ilImportMapping $mapping) | |
Protected Member Functions | |
moveObject (int $ref_id, int $parent_ref_id, string $ou_id, string $external_id) | |
![]() | |
buildRef ($id, string $type) | |
Additional Inherited Members | |
![]() | |
array | $errors = [] |
array | $warnings = [] |
array | $stats |
![]() | |
array | $skip_entities = array() |
ilImport | $imp |
string | $install_id |
string | $install_url |
string | $schema_version |
string | $import_directory |
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.
ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.
If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning Class ilOrgUnitSimpleImport
Definition at line 24 of file class.ilOrgUnitSimpleImport.php.
|
protected |
string | $ou_id | this is only needed for displaying the warning. |
string | $external_id | this is only needed for displaying the warning. |
Definition at line 158 of file class.ilOrgUnitSimpleImport.php.
References $DIC, Vendor\Package\$e, $path, and ilOrgUnitImporter\addWarning().
Referenced by simpleImportElement().
ilOrgUnitSimpleImport::simpleImport | ( | string | $file_path | ) |
Definition at line 26 of file class.ilOrgUnitSimpleImport.php.
References Vendor\Package\$a, $xml, ilOrgUnitImporter\addError(), and simpleImportElement().
ilOrgUnitSimpleImport::simpleImportElement | ( | SimpleXMLElement | $o | ) |
Definition at line 42 of file class.ilOrgUnitSimpleImport.php.
References $attributes, $DIC, Vendor\Package\$e, $ilUser, $ref_id, ilObject\_hasUntrashedReference(), ilObject\_lookupObjIdByImportId(), ilObject\_lookupType(), ilOrgUnitImporter\addError(), ilOrgUnitImporter\addWarning(), ilOrgUnitImporter\buildRef(), ilObjOrgUnit\getRootOrgRefId(), ilOrgUnitImporter\hasMoreThanOneMatch(), if, and moveObject().
Referenced by simpleImport().