source/Application/Controller/VendorListController.php
public function hasVisibleSubCats()
    {
        if ($this->_blVisibleSubCats === null) {
            $this->_blVisibleSubCats = false;
            if (($this->_getVendorId() && $oVendorTree = $this->getVendorTree())) {
                if (($oVendor = $this->getActVendor())) {
                    if ($oVendor->getId() == 'root') {
                        $this->_blVisibleSubCats = $oVendorTree->count();
                        $this->_oSubCatList = $oVendorTree;
                    }
                }
            }
        }

        return $this->_blVisibleSubCats;
    }
public function hasVisibleSubCats()
    {
        if ($this->_blVisibleSubCats === null) {
            $this->_blVisibleSubCats = false;
            if (($this->_getVendorId() && $oVendorTree = $this->getVendorTree())) {
                if (($oVendor = $this->getActVendor())) {
                    if ($oVendor->getId() == 'root') {
                        $this->_blVisibleSubCats = $oVendorTree->count();
                        $this->_oSubCatList = $oVendorTree;
                    }
                }
            }
        }

        return $this->_blVisibleSubCats;
    }
public function hasVisibleSubCats ( ) { if ( $ this -> _blVisibleSubCats === null ) { $ this -> _blVisibleSubCats = false ; if ( ( $ this -> _getVendorId ( ) && $ oVendorTree = $ this -> getVendorTree ( ) ) ) { if ( ( $ oVendor = $ this -> getActVendor ( ) ) ) { if ( $ oVendor -> getId ( ) == 'root' ) { $ this -> _blVisibleSubCats = $ oVendorTree -> count ( ) ; $ this -> _oSubCatList = $ oVendorTree ; } } } } return $ this -> _blVisibleSubCats ; }
Returns if vendor has visible sub-cats and load them.

@return bool
Returns if vendor has visible sub - cats and load them .