source/Application/Component/CategoriesComponent.php
protected function _loadManufacturerTree($sActManufacturer)
    {
        $myConfig = \OxidEsales\Eshop\Core\Registry::getConfig();
        if ($myConfig->getConfigParam('bl_perfLoadManufacturerTree')) {
            $oManufacturerTree = $this->getManufacturerList();
            $shopHomeURL = $myConfig->getShopHomeUrl();
            $oManufacturerTree->buildManufacturerTree('manufacturerlist', $sActManufacturer, $shopHomeURL);

            $oParentView = $this->getParent();

            // setting active Manufacturer list
            $oParentView->setManufacturerTree($oManufacturerTree);
            $this->setManufacturerTree($oManufacturerTree);

            // setting active Manufacturer
            if (($oManufacturer = $oManufacturerTree->getClickManufacturer())) {
                $oParentView->setActManufacturer($oManufacturer);
            }
        }
    }
protected function _loadManufacturerTree($sActManufacturer)
    {
        $myConfig = \OxidEsales\Eshop\Core\Registry::getConfig();
        if ($myConfig->getConfigParam('bl_perfLoadManufacturerTree')) {
            $oManufacturerTree = $this->getManufacturerList();
            $shopHomeURL = $myConfig->getShopHomeUrl();
            $oManufacturerTree->buildManufacturerTree('manufacturerlist', $sActManufacturer, $shopHomeURL);

            $oParentView = $this->getParent();

            // setting active Manufacturer list
            $oParentView->setManufacturerTree($oManufacturerTree);
            $this->setManufacturerTree($oManufacturerTree);

            // setting active Manufacturer
            if (($oManufacturer = $oManufacturerTree->getClickManufacturer())) {
                $oParentView->setActManufacturer($oManufacturer);
            }
        }
    }
protected function _loadManufacturerTree ( $ sActManufacturer ) { $ myConfig = \ OxidEsales \ Eshop \ Core \ Registry :: getConfig ( ) ; if ( $ myConfig -> getConfigParam ( 'bl_perfLoadManufacturerTree' ) ) { $ oManufacturerTree = $ this -> getManufacturerList ( ) ; $ shopHomeURL = $ myConfig -> getShopHomeUrl ( ) ; $ oManufacturerTree -> buildManufacturerTree ( 'manufacturerlist' , $ sActManufacturer , $ shopHomeURL ) ; $ oParentView = $ this -> getParent ( ) ; // setting active Manufacturer list $ oParentView -> setManufacturerTree ( $ oManufacturerTree ) ; $ this -> setManufacturerTree ( $ oManufacturerTree ) ; // setting active Manufacturer if ( ( $ oManufacturer = $ oManufacturerTree -> getClickManufacturer ( ) ) ) { $ oParentView -> setActManufacturer ( $ oManufacturer ) ; } } }
Manufacturer tree loader

@param string $sActManufacturer active Manufacturer id
Manufacturer tree loader