ILIAS
trunk Revision v11.0_alpha-1761-g6dbbfa7b760
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
Public Member Functions | |
__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) | |
Data Fields | |
array | $errors = [] |
array | $warnings = [] |
array | $stats |
Protected Member Functions | |
buildRef ($id, string $type) | |
Private Attributes | |
ilDBInterface | $database |
Additional Inherited Members | |
![]() | |
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 ilOrgUnitImporter
Definition at line 25 of file class.ilOrgUnitImporter.php.
ilOrgUnitImporter::__construct | ( | ) |
ilOrgUnitImporter::addError | ( | string | $lang_var, |
string | $import_id, | ||
?string | $action = null |
||
) |
Definition at line 117 of file class.ilOrgUnitImporter.php.
Referenced by ilOrgUnitSimpleImport\simpleImport(), ilOrgUnitSimpleImport\simpleImportElement(), ilOrgUnitSimpleUserImport\simpleUserImport(), and ilOrgUnitSimpleUserImport\simpleUserImportElement().
ilOrgUnitImporter::addWarning | ( | string | $lang_var, |
string | $import_id, | ||
?string | $action = null |
||
) |
Definition at line 112 of file class.ilOrgUnitImporter.php.
Referenced by ilOrgUnitSimpleImport\moveObject(), and ilOrgUnitSimpleImport\simpleImportElement().
|
protected |
$id | int|string |
Definition at line 45 of file class.ilOrgUnitImporter.php.
References $id, $ref_id, ilObjOrgUnit\_exists(), ilObject\_getAllReferences(), ilObject\_hasUntrashedReference(), ilObject\_isInTrash(), ilObject\_lookupObjIdByImportId(), and ilObject\_lookupType().
Referenced by ilOrgUnitSimpleImport\simpleImportElement(), and ilOrgUnitSimpleUserImport\simpleUserImportElement().
ilOrgUnitImporter::getErrors | ( | ) |
Definition at line 122 of file class.ilOrgUnitImporter.php.
References $errors.
Referenced by ilOrgUnitSimpleUserImportGUI\displayImportResults().
ilOrgUnitImporter::getStats | ( | ) |
Definition at line 132 of file class.ilOrgUnitImporter.php.
References $stats.
Referenced by ilOrgUnitSimpleUserImportGUI\displayImportResults().
ilOrgUnitImporter::getWarnings | ( | ) |
Definition at line 127 of file class.ilOrgUnitImporter.php.
References $warnings.
Referenced by ilOrgUnitSimpleUserImportGUI\displayImportResults().
ilOrgUnitImporter::hasErrors | ( | ) |
Definition at line 102 of file class.ilOrgUnitImporter.php.
Referenced by ilOrgUnitSimpleUserImportGUI\displayImportResults().
ilOrgUnitImporter::hasMoreThanOneMatch | ( | string | $external_id | ) |
Definition at line 86 of file class.ilOrgUnitImporter.php.
References $res.
Referenced by ilOrgUnitSimpleImport\simpleImportElement().
ilOrgUnitImporter::hasWarnings | ( | ) |
Definition at line 107 of file class.ilOrgUnitImporter.php.
Referenced by ilOrgUnitSimpleUserImportGUI\displayImportResults().
ilOrgUnitImporter::importXmlRepresentation | ( | string | $a_entity, |
string | $a_id, | ||
string | $a_xml, | ||
ilImportMapping | $a_mapping | ||
) |
Definition at line 138 of file class.ilOrgUnitImporter.php.
References ilObject\_lookupType(), ilImportMapping\addMapping(), and ilImportMapping\getMappingsOfEntity().
|
private |
Definition at line 33 of file class.ilOrgUnitImporter.php.
array ilOrgUnitImporter::$errors = [] |
Definition at line 28 of file class.ilOrgUnitImporter.php.
Referenced by getErrors().
array ilOrgUnitImporter::$stats |
Definition at line 32 of file class.ilOrgUnitImporter.php.
Referenced by getStats().
array ilOrgUnitImporter::$warnings = [] |
Definition at line 30 of file class.ilOrgUnitImporter.php.
Referenced by getWarnings().