36        if (
$type == 
'reference_id') {
 
   42        } elseif (
$type == 
'external_id') {
 
   51            if (!count($ref_ids)) {
 
   55            foreach ($ref_ids as $ref_id) {
 
   72        return count($this->errors) != 0;
 
   81        return count($this->warnings) != 0;
 
   92        $this->warnings[] = array( 
'lang_var' => $lang_var, 
'import_id' => $import_id, 
'action' => 
$action );
 
  103        $this->errors[] = array( 
'lang_var' => $lang_var, 
'import_id' => $import_id, 
'action' => 
$action );
 
  146        $container_mappings = $a_mapping->getMappingsOfEntity(
"Services/Container", 
"objs");
 
  147        foreach ($container_mappings as 
$old => 
$new) {
 
  150                $a_mapping->addMapping(
"Modules/OrgUnit", 
"orgu", 
$old, 
$new);
 
An exception for terminatinating execution or to throw for unit testing.
static _exists($a_id, $a_reference=false, $type="orgu")
static _lookupType($a_id, $a_reference=false)
lookup object type
static _getAllReferences($a_id)
get all reference ids of object
static _hasUntrashedReference($a_obj_id)
checks wether an object has at least one reference that is not in trash
static _lookupObjIdByImportId($a_import_id)
static _isInTrash($a_ref_id)
checks wether object is in trash
importXmlRepresentation($a_entity, $a_id, $a_xml, $a_mapping)
addError($lang_var, $import_id, $action=null)
addWarning($lang_var, $import_id, $action=null)
if(!array_key_exists('StateId', $_REQUEST)) $id