source/Core/GenericImport/GenericImport.php
protected function getImportType()
    {
        $type = $this->importType;

        if (strlen($type) != 1 || !array_key_exists($type, $this->objects)) {
            throw new Exception('Error unknown command: ' . $type);
        } else {
            return $this->objects[$type];
        }
    }
protected function getImportType()
    {
        $type = $this->importType;

        if (strlen($type) != 1 || !array_key_exists($type, $this->objects)) {
            throw new Exception('Error unknown command: ' . $type);
        } else {
            return $this->objects[$type];
        }
    }
protected function getImportType ( ) { $ type = $ this -> importType ; if ( strlen ( $ type ) != 1 || ! array_key_exists ( $ type , $ this -> objects ) ) { throw new Exception ( 'Error unknown command: ' . $ type ) ; } else { return $ this -> objects [ $ type ] ; } }
Gets import object type according type prefix.

@throws Exception if no such import type prefix

@return string
Gets import object type according type prefix .