source/Core/GenericImport/ImportObject/ImportObject.php
protected function createShopObject()
    {
        $objectName = $this->getShopObjectName();
        if ($objectName) {
            $shopObject = oxNew($objectName, 'core');
            if ($shopObject instanceof \OxidEsales\Eshop\Core\Model\MultiLanguageModel) {
                $shopObject->setLanguage(0);
                $shopObject->setEnableMultilang(false);
            }
        } else {
            $shopObject = oxNew('oxBase', 'core');
            $shopObject->init($this->getBaseTableName());
        }

        return $shopObject;
    }
protected function createShopObject()
    {
        $objectName = $this->getShopObjectName();
        if ($objectName) {
            $shopObject = oxNew($objectName, 'core');
            if ($shopObject instanceof \OxidEsales\Eshop\Core\Model\MultiLanguageModel) {
                $shopObject->setLanguage(0);
                $shopObject->setEnableMultilang(false);
            }
        } else {
            $shopObject = oxNew('oxBase', 'core');
            $shopObject->init($this->getBaseTableName());
        }

        return $shopObject;
    }
protected function createShopObject ( ) { $ objectName = $ this -> getShopObjectName ( ) ; if ( $ objectName ) { $ shopObject = oxNew ( $ objectName , 'core' ) ; if ( $ shopObject instanceof \ OxidEsales \ Eshop \ Core \ Model \ MultiLanguageModel ) { $ shopObject -> setLanguage ( 0 ) ; $ shopObject -> setEnableMultilang ( false ) ; } } else { $ shopObject = oxNew ( 'oxBase' , 'core' ) ; $ shopObject -> init ( $ this -> getBaseTableName ( ) ) ; } return $ shopObject ; }
Creates shop object.

@return \OxidEsales\Eshop\Core\Model\BaseModel
Creates shop object .