source/Application/Model/Shop.php
protected function _prepareViewsQueries()
    {
        $oLang = \OxidEsales\Eshop\Core\Registry::getLang();
        $aLanguages = $oLang->getLanguageIds($this->getId());

        $aMultilangTables = \OxidEsales\Eshop\Core\Registry::getLang()->getMultiLangTables();
        $aTables = $this->getTables();
        foreach ($aTables as $sTable) {
            $this->createViewQuery($sTable);
            if (in_array($sTable, $aMultilangTables)) {
                $this->createViewQuery($sTable, $aLanguages);
            }
        }
    }
protected function _prepareViewsQueries()
    {
        $oLang = \OxidEsales\Eshop\Core\Registry::getLang();
        $aLanguages = $oLang->getLanguageIds($this->getId());

        $aMultilangTables = \OxidEsales\Eshop\Core\Registry::getLang()->getMultiLangTables();
        $aTables = $this->getTables();
        foreach ($aTables as $sTable) {
            $this->createViewQuery($sTable);
            if (in_array($sTable, $aMultilangTables)) {
                $this->createViewQuery($sTable, $aLanguages);
            }
        }
    }
protected function _prepareViewsQueries ( ) { $ oLang = \ OxidEsales \ Eshop \ Core \ Registry :: getLang ( ) ; $ aLanguages = $ oLang -> getLanguageIds ( $ this -> getId ( ) ) ; $ aMultilangTables = \ OxidEsales \ Eshop \ Core \ Registry :: getLang ( ) -> getMultiLangTables ( ) ; $ aTables = $ this -> getTables ( ) ; foreach ( $ aTables as $ sTable ) { $ this -> createViewQuery ( $ sTable ) ; if ( in_array ( $ sTable , $ aMultilangTables ) ) { $ this -> createViewQuery ( $ sTable , $ aLanguages ) ; } } }
Creates all view queries and adds them in query array
Creates all view queries and adds them in query array