src/ShopBundle/objects/TShopCategoryTree/TShopCategoryTree.class.php
public function GetAddFilterURL($sListFilterItemId)
    {
        $oActiveListFilter = TdbPkgShopListfilter::GetActiveInstance();
        $aURLData = $oActiveListFilter->GetCurrentFilterAsArray();
        $aURLData = $this->ClearOtherCategoryTreeFilter($aURLData, $sListFilterItemId);
        $aURLData[TdbPkgShopListfilterItem::URL_PARAMETER_FILTER_DATA][$sListFilterItemId][] = $this->oRealCategory->id;
        $aURLData[TdbPkgShopListfilter::URL_PARAMETER_IS_NEW_REQUEST] = '1';

        return $this->getActivePageService()->getLinkToActivePageRelative($aURLData);
    }
public function GetAddFilterURL($sListFilterItemId)
    {
        $oActiveListFilter = TdbPkgShopListfilter::GetActiveInstance();
        $aURLData = $oActiveListFilter->GetCurrentFilterAsArray();
        $aURLData = $this->ClearOtherCategoryTreeFilter($aURLData, $sListFilterItemId);
        $aURLData[TdbPkgShopListfilterItem::URL_PARAMETER_FILTER_DATA][$sListFilterItemId][] = $this->oRealCategory->id;
        $aURLData[TdbPkgShopListfilter::URL_PARAMETER_IS_NEW_REQUEST] = '1';

        return $this->getActivePageService()->getLinkToActivePageRelative($aURLData);
    }
public function GetAddFilterURL ( $ sListFilterItemId ) { $ oActiveListFilter = TdbPkgShopListfilter :: GetActiveInstance ( ) ; $ aURLData = $ oActiveListFilter -> GetCurrentFilterAsArray ( ) ; $ aURLData = $ this -> ClearOtherCategoryTreeFilter ( $ aURLData , $ sListFilterItemId ) ; $ aURLData [ TdbPkgShopListfilterItem :: URL_PARAMETER_FILTER_DATA ] [ $ sListFilterItemId ] [ ] = $ this -> oRealCategory -> id ; $ aURLData [ TdbPkgShopListfilter :: URL_PARAMETER_IS_NEW_REQUEST ] = '1' ; return $ this -> getActivePageService ( ) -> getLinkToActivePageRelative ( $ aURLData ) ; }
return url that sets the filter to the current category.

@param string $sValue
return url that sets the filter to the current category .