src/ShopListFilterBundle/objects/db/ListfilterItems/TPkgShopListfilterItemLevelTree.class.php
public function GetRenderedCategoryTree()
    {
        $aFilterCategories = $this->GetOptions();
        $oTree = TShopCategoryTree::GetCategoryTree();
        $oTree->ResetCounter();
        foreach ($aFilterCategories as $sCategoryId => $sCategoryCount) {
            $oTree->AddItemCount($sCategoryId, $sCategoryCount);
        }
        if (is_array($this->aActiveFilterData) && count($this->aActiveFilterData) > 0) {
            $oTree->MarkActiveCategories($this->aActiveFilterData);
        }
        $sRenderedCategoryTree = $oTree->Render($this->id, true, true);

        return $sRenderedCategoryTree;
    }
public function GetRenderedCategoryTree()
    {
        $aFilterCategories = $this->GetOptions();
        $oTree = TShopCategoryTree::GetCategoryTree();
        $oTree->ResetCounter();
        foreach ($aFilterCategories as $sCategoryId => $sCategoryCount) {
            $oTree->AddItemCount($sCategoryId, $sCategoryCount);
        }
        if (is_array($this->aActiveFilterData) && count($this->aActiveFilterData) > 0) {
            $oTree->MarkActiveCategories($this->aActiveFilterData);
        }
        $sRenderedCategoryTree = $oTree->Render($this->id, true, true);

        return $sRenderedCategoryTree;
    }
public function GetRenderedCategoryTree ( ) { $ aFilterCategories = $ this -> GetOptions ( ) ; $ oTree = TShopCategoryTree :: GetCategoryTree ( ) ; $ oTree -> ResetCounter ( ) ; foreach ( $ aFilterCategories as $ sCategoryId => $ sCategoryCount ) { $ oTree -> AddItemCount ( $ sCategoryId , $ sCategoryCount ) ; } if ( is_array ( $ this -> aActiveFilterData ) && count ( $ this -> aActiveFilterData ) > 0 ) { $ oTree -> MarkActiveCategories ( $ this -> aActiveFilterData ) ; } $ sRenderedCategoryTree = $ oTree -> Render ( $ this -> id , true , true ) ; return $ sRenderedCategoryTree ; }
Get the complete rendered filter as html.

@return string
Get the complete rendered filter as html .