ILIAS
Release_5_0_x_branch Revision 61816
|
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. | |
init () | |
Init. | |
setInstallId ($a_val) | |
Set installation id. | |
getInstallId () | |
Get installation id. | |
setInstallUrl ($a_val) | |
Set installation url. | |
getInstallUrl () | |
Get installation url. | |
setSchemaVersion ($a_val) | |
Set schema version. | |
getSchemaVersion () | |
Get schema version. | |
setImportDirectory ($a_val) | |
Set import directory. | |
getImportDirectory () | |
Get import directory. | |
setSkipEntities ($a_val) | |
Set skip entities. | |
getSkipEntities () | |
Get skip entities. | |
finalProcessing ($a_mapping) | |
Final processing. |
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() |
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 127 of file class.ilOrgUnitSimpleImport.php.
References $ilLog, $path, $ref_id, and ilOrgUnitImporter\addWarning().
Referenced by simpleImportElement().
ilOrgUnitSimpleImport::simpleImport | ( | $file_path | ) |
Definition at line 13 of file class.ilOrgUnitSimpleImport.php.
References $lng, ilOrgUnitImporter\addError(), and simpleImportElement().
ilOrgUnitSimpleImport::simpleImportElement | ( | SimpleXMLElement | $o | ) |
Definition at line 29 of file class.ilOrgUnitSimpleImport.php.
References $ilUser, $ref_id, $tpl, ilObject\_hasUntrashedReference(), ilObject\_lookupObjIdByImportId(), ilOrgUnitImporter\addError(), ilOrgUnitImporter\addWarning(), ilOrgUnitImporter\buildRef(), ilObjOrgUnit\getRootOrgRefId(), and moveObject().
Referenced by simpleImport().