source/Core/Controller/BaseController.php
public function getCategoryId()
    {
        if ($this->_sCategoryId == null && ($sCatId = \OxidEsales\Eshop\Core\Registry::getConfig()->getRequestParameter('cnid'))) {
            $this->_sCategoryId = $sCatId;
        }

        return $this->_sCategoryId;
    }
public function getCategoryId()
    {
        if ($this->_sCategoryId == null && ($sCatId = \OxidEsales\Eshop\Core\Registry::getConfig()->getRequestParameter('cnid'))) {
            $this->_sCategoryId = $sCatId;
        }

        return $this->_sCategoryId;
    }
public function getCategoryId ( ) { if ( $ this -> _sCategoryId == null && ( $ sCatId = \ OxidEsales \ Eshop \ Core \ Registry :: getConfig ( ) -> getRequestParameter ( 'cnid' ) ) ) { $ this -> _sCategoryId = $ sCatId ; } return $ this -> _sCategoryId ; }
Get category ID

@return string
Get category ID