source/Application/Controller/ArticleListController.php
public function getActiveCategory()
    {
        if ($this->_oActCategory === null) {
            $this->_oActCategory = false;
            $category = oxNew(\OxidEsales\Eshop\Application\Model\Category::class);
            if ($category->load($this->getCategoryId())) {
                $this->_oActCategory = $category;
            }
        }

        return $this->_oActCategory;
    }
public function getActiveCategory()
    {
        if ($this->_oActCategory === null) {
            $this->_oActCategory = false;
            $category = oxNew(\OxidEsales\Eshop\Application\Model\Category::class);
            if ($category->load($this->getCategoryId())) {
                $this->_oActCategory = $category;
            }
        }

        return $this->_oActCategory;
    }
public function getActiveCategory ( ) { if ( $ this -> _oActCategory === null ) { $ this -> _oActCategory = false ; $ category = oxNew ( \ OxidEsales \ Eshop \ Application \ Model \ Category :: class ) ; if ( $ category -> load ( $ this -> getCategoryId ( ) ) ) { $ this -> _oActCategory = $ category ; } } return $ this -> _oActCategory ; }
Template variable getter. Returns active search

@return \OxidEsales\Eshop\Application\Model\Category
Template variable getter . Returns active search