source/Application/Controller/ArticleListController.php
protected function getCategoryToRender()
    {
        $config = \OxidEsales\Eshop\Core\Registry::getConfig();

        $this->_blIsCat = false;

        // A. checking for fake "more" category
        if ('oxmore' == $config->getRequestParameter('cnid')) {
            // overriding some standard value and parameters
            $this->_sThisTemplate = $this->_sThisMoreTemplate;
            $category = oxNew(\OxidEsales\Eshop\Application\Model\Category::class);
            $category->oxcategories__oxactive = new \OxidEsales\Eshop\Core\Field(1, \OxidEsales\Eshop\Core\Field::T_RAW);
            $this->setActiveCategory($category);
        } elseif (($category = $this->getActiveCategory())) {
            $this->_blIsCat = true;
            $this->_blBargainAction = true;
        }

        return $category;
    }
protected function getCategoryToRender()
    {
        $config = \OxidEsales\Eshop\Core\Registry::getConfig();

        $this->_blIsCat = false;

        // A. checking for fake "more" category
        if ('oxmore' == $config->getRequestParameter('cnid')) {
            // overriding some standard value and parameters
            $this->_sThisTemplate = $this->_sThisMoreTemplate;
            $category = oxNew(\OxidEsales\Eshop\Application\Model\Category::class);
            $category->oxcategories__oxactive = new \OxidEsales\Eshop\Core\Field(1, \OxidEsales\Eshop\Core\Field::T_RAW);
            $this->setActiveCategory($category);
        } elseif (($category = $this->getActiveCategory())) {
            $this->_blIsCat = true;
            $this->_blBargainAction = true;
        }

        return $category;
    }
protected function getCategoryToRender ( ) { $ config = \ OxidEsales \ Eshop \ Core \ Registry :: getConfig ( ) ; $ this -> _blIsCat = false ; // A. checking for fake "more" category if ( 'oxmore' == $ config -> getRequestParameter ( 'cnid' ) ) { // overriding some standard value and parameters $ this -> _sThisTemplate = $ this -> _sThisMoreTemplate ; $ category = oxNew ( \ OxidEsales \ Eshop \ Application \ Model \ Category :: class ) ; $ category -> oxcategories__oxactive = new \ OxidEsales \ Eshop \ Core \ Field ( 1 , \ OxidEsales \ Eshop \ Core \ Field :: T_RAW ) ; $ this -> setActiveCategory ( $ category ) ; } elseif ( ( $ category = $ this -> getActiveCategory ( ) ) ) { $ this -> _blIsCat = true ; $ this -> _blBargainAction = true ; } return $ category ; }
Returns category, which should be rendered.
In case of 'more categories' page is viewed, sets 'more categories' template,
sets empty category as active category and returns it.

@return \OxidEsales\Eshop\Application\Model\Category
Returns category which should be rendered . In case of more categories page is viewed sets more categories template sets empty category as active category and returns it .