source/Application/Model/Category.php
public function getIsVisible()
    {
        if (!isset($this->_blIsVisible)) {
            if (\OxidEsales\Eshop\Core\Registry::getConfig()->getConfigParam('blDontShowEmptyCategories')) {
                $blEmpty = ($this->getNrOfArticles() < 1) && !$this->getHasVisibleSubCats();
            } else {
                $blEmpty = false;
            }

            $this->_blIsVisible = !($blEmpty || $this->oxcategories__oxhidden->value);
        }

        return $this->_blIsVisible;
    }
public function getIsVisible()
    {
        if (!isset($this->_blIsVisible)) {
            if (\OxidEsales\Eshop\Core\Registry::getConfig()->getConfigParam('blDontShowEmptyCategories')) {
                $blEmpty = ($this->getNrOfArticles() < 1) && !$this->getHasVisibleSubCats();
            } else {
                $blEmpty = false;
            }

            $this->_blIsVisible = !($blEmpty || $this->oxcategories__oxhidden->value);
        }

        return $this->_blIsVisible;
    }
public function getIsVisible ( ) { if ( ! isset ( $ this -> _blIsVisible ) ) { if ( \ OxidEsales \ Eshop \ Core \ Registry :: getConfig ( ) -> getConfigParam ( 'blDontShowEmptyCategories' ) ) { $ blEmpty = ( $ this -> getNrOfArticles ( ) < 1 ) && ! $ this -> getHasVisibleSubCats ( ) ; } else { $ blEmpty = false ; } $ this -> _blIsVisible = ! ( $ blEmpty || $ this -> oxcategories__oxhidden -> value ) ; } return $ this -> _blIsVisible ; }
returns the visibility of a category, handles hidden and empty categories

@return bool
returns the visibility of a category handles hidden and empty categories