source/Application/Model/Category.php
public function setHasVisibleSubCats($blHasVisibleSubcats)
    {
        if ($blHasVisibleSubcats && !$this->_blHasVisibleSubCats) {
            unset($this->_blIsVisible);
            if ($this->_oParent instanceof \OxidEsales\Eshop\Application\Model\Category) {
                $this->_oParent->setHasVisibleSubCats(true);
            }
        }
        $this->_blHasVisibleSubCats = $blHasVisibleSubcats;
    }
public function setHasVisibleSubCats($blHasVisibleSubcats)
    {
        if ($blHasVisibleSubcats && !$this->_blHasVisibleSubCats) {
            unset($this->_blIsVisible);
            if ($this->_oParent instanceof \OxidEsales\Eshop\Application\Model\Category) {
                $this->_oParent->setHasVisibleSubCats(true);
            }
        }
        $this->_blHasVisibleSubCats = $blHasVisibleSubcats;
    }
public function setHasVisibleSubCats ( $ blHasVisibleSubcats ) { if ( $ blHasVisibleSubcats && ! $ this -> _blHasVisibleSubCats ) { unset ( $ this -> _blIsVisible ) ; if ( $ this -> _oParent instanceof \ OxidEsales \ Eshop \ Application \ Model \ Category ) { $ this -> _oParent -> setHasVisibleSubCats ( true ) ; } } $ this -> _blHasVisibleSubCats = $ blHasVisibleSubcats ; }
sets the state of has visible sub categories for the category

@param bool $blHasVisibleSubcats marker if category has visible subcategories
sets the state of has visible sub categories for the category