src/ShopBundle/objects/TShopCategoryTree/TShopCategoryTree.class.php
protected function ClearOtherCategoryTreeFilter($aURLData, $sListFilterItemId)
    {
        if (is_array($aURLData) && array_key_exists(TdbPkgShopListfilterItem::URL_PARAMETER_FILTER_DATA, $aURLData) && is_array($aURLData[TdbPkgShopListfilterItem::URL_PARAMETER_FILTER_DATA]) && array_key_exists($sListFilterItemId, $aURLData[TdbPkgShopListfilterItem::URL_PARAMETER_FILTER_DATA])
        ) {
            unset($aURLData[TdbPkgShopListfilterItem::URL_PARAMETER_FILTER_DATA][$sListFilterItemId]);
        }

        return $aURLData;
    }
protected function ClearOtherCategoryTreeFilter($aURLData, $sListFilterItemId)
    {
        if (is_array($aURLData) && array_key_exists(TdbPkgShopListfilterItem::URL_PARAMETER_FILTER_DATA, $aURLData) && is_array($aURLData[TdbPkgShopListfilterItem::URL_PARAMETER_FILTER_DATA]) && array_key_exists($sListFilterItemId, $aURLData[TdbPkgShopListfilterItem::URL_PARAMETER_FILTER_DATA])
        ) {
            unset($aURLData[TdbPkgShopListfilterItem::URL_PARAMETER_FILTER_DATA][$sListFilterItemId]);
        }

        return $aURLData;
    }
protected function ClearOtherCategoryTreeFilter ( $ aURLData , $ sListFilterItemId ) { if ( is_array ( $ aURLData ) && array_key_exists ( TdbPkgShopListfilterItem :: URL_PARAMETER_FILTER_DATA , $ aURLData ) && is_array ( $ aURLData [ TdbPkgShopListfilterItem :: URL_PARAMETER_FILTER_DATA ] ) && array_key_exists ( $ sListFilterItemId , $ aURLData [ TdbPkgShopListfilterItem :: URL_PARAMETER_FILTER_DATA ] ) ) { unset ( $ aURLData [ TdbPkgShopListfilterItem :: URL_PARAMETER_FILTER_DATA ] [ $ sListFilterItemId ] ) ; } return $ aURLData ; }
Clear active category filter for the filter url.
You can filter onyl for one category.

@param  $aURLData
@param  $sListFilterItemId

@return array
Clear active category filter for the filter url . You can filter onyl for one category .