source/Application/Controller/VendorListController.php
public function getVendorTree()
    {
        if ($this->_getVendorId() && $this->_oVendorTree === null) {
            /** @var \OxidEsales\Eshop\Application\Model\VendorList $oVendorTree */
            $oVendorTree = oxNew(\OxidEsales\Eshop\Application\Model\VendorList::class);
            $oVendorTree->buildVendorTree(
                'vendorlist',
                $this->getActVendor()->getId(),
                \OxidEsales\Eshop\Core\Registry::getConfig()->getShopHomeUrl()
            );
            $this->_oVendorTree = $oVendorTree;
        }

        return $this->_oVendorTree;
    }
public function getVendorTree()
    {
        if ($this->_getVendorId() && $this->_oVendorTree === null) {
            /** @var \OxidEsales\Eshop\Application\Model\VendorList $oVendorTree */
            $oVendorTree = oxNew(\OxidEsales\Eshop\Application\Model\VendorList::class);
            $oVendorTree->buildVendorTree(
                'vendorlist',
                $this->getActVendor()->getId(),
                \OxidEsales\Eshop\Core\Registry::getConfig()->getShopHomeUrl()
            );
            $this->_oVendorTree = $oVendorTree;
        }

        return $this->_oVendorTree;
    }
public function getVendorTree ( ) { if ( $ this -> _getVendorId ( ) && $ this -> _oVendorTree === null ) { /** @var \OxidEsales\Eshop\Application\Model\VendorList $oVendorTree */ $ oVendorTree = oxNew ( \ OxidEsales \ Eshop \ Application \ Model \ VendorList :: class ) ; $ oVendorTree -> buildVendorTree ( 'vendorlist' , $ this -> getActVendor ( ) -> getId ( ) , \ OxidEsales \ Eshop \ Core \ Registry :: getConfig ( ) -> getShopHomeUrl ( ) ) ; $ this -> _oVendorTree = $ oVendorTree ; } return $ this -> _oVendorTree ; }
Returns vendor tree

@return \OxidEsales\Eshop\Application\Model\VendorList
Returns vendor tree