source/Core/GenericImport/GenericImport.php
public function getImportObject($type)
    {
        $this->importType = $type;
        $result = null;
        try {
            $importType = $this->getImportType();
            $result = $this->createImportObject($importType);
        } catch (Exception $e) {
        }

        return $result;
    }
public function getImportObject($type)
    {
        $this->importType = $type;
        $result = null;
        try {
            $importType = $this->getImportType();
            $result = $this->createImportObject($importType);
        } catch (Exception $e) {
        }

        return $result;
    }
public function getImportObject ( $ type ) { $ this -> importType = $ type ; $ result = null ; try { $ importType = $ this -> getImportType ( ) ; $ result = $ this -> createImportObject ( $ importType ) ; } catch ( Exception $ e ) { } return $ result ; }
Get import object according import type.

@param string $type Import object type.

@return ImportObject
Get import object according import type .