source/Core/GenericImport/ImportObject/ImportObject.php
public function getFieldList()
    {
        $objectName = $this->getShopObjectName();

        if ($objectName) {
            $shopObject = oxNew($objectName);
        } else {
            $shopObject = oxNew(\OxidEsales\Eshop\Core\Model\BaseModel::class);
            $shopObject->init($this->getTableName());
        }

        if ($shopObject instanceof \OxidEsales\Eshop\Core\Model\MultiLanguageModel) {
            $shopObject->setLanguage(0);
            $shopObject->setEnableMultilang(false);
        }

        $viewName = $shopObject->getViewName();
        $fields = str_ireplace('`' . $viewName . "`.", "", strtoupper($shopObject->getSelectFields()));
        $fields = str_ireplace([" ", "`"], ["", ""], $fields);
        $this->fieldList = explode(",", $fields);

        return $this->fieldList;
    }
public function getFieldList()
    {
        $objectName = $this->getShopObjectName();

        if ($objectName) {
            $shopObject = oxNew($objectName);
        } else {
            $shopObject = oxNew(\OxidEsales\Eshop\Core\Model\BaseModel::class);
            $shopObject->init($this->getTableName());
        }

        if ($shopObject instanceof \OxidEsales\Eshop\Core\Model\MultiLanguageModel) {
            $shopObject->setLanguage(0);
            $shopObject->setEnableMultilang(false);
        }

        $viewName = $shopObject->getViewName();
        $fields = str_ireplace('`' . $viewName . "`.", "", strtoupper($shopObject->getSelectFields()));
        $fields = str_ireplace([" ", "`"], ["", ""], $fields);
        $this->fieldList = explode(",", $fields);

        return $this->fieldList;
    }
public function getFieldList ( ) { $ objectName = $ this -> getShopObjectName ( ) ; if ( $ objectName ) { $ shopObject = oxNew ( $ objectName ) ; } else { $ shopObject = oxNew ( \ OxidEsales \ Eshop \ Core \ Model \ BaseModel :: class ) ; $ shopObject -> init ( $ this -> getTableName ( ) ) ; } if ( $ shopObject instanceof \ OxidEsales \ Eshop \ Core \ Model \ MultiLanguageModel ) { $ shopObject -> setLanguage ( 0 ) ; $ shopObject -> setEnableMultilang ( false ) ; } $ viewName = $ shopObject -> getViewName ( ) ; $ fields = str_ireplace ( '`' . $ viewName . "`." , "" , strtoupper ( $ shopObject -> getSelectFields ( ) ) ) ; $ fields = str_ireplace ( [ " " , "`" ] , [ "" , "" ] , $ fields ) ; $ this -> fieldList = explode ( "," , $ fields ) ; return $ this -> fieldList ; }
Returns the predefined field list.

@return array
Returns the predefined field list .