src/ShopBundle/objects/TShopCategoryTree/TShopCategoryTree.class.php
protected function GetCategoryURL($sListFilterItemId = false)
    {
        $sURL = '';
        if (!is_null($this->oRealCategory)) {
            if ($sListFilterItemId) {
                $sURL = $this->GetAddFilterURL($sListFilterItemId);
            } else {
                $sURL = $this->oRealCategory->GetLink();
            }
        }

        return $sURL;
    }
protected function GetCategoryURL($sListFilterItemId = false)
    {
        $sURL = '';
        if (!is_null($this->oRealCategory)) {
            if ($sListFilterItemId) {
                $sURL = $this->GetAddFilterURL($sListFilterItemId);
            } else {
                $sURL = $this->oRealCategory->GetLink();
            }
        }

        return $sURL;
    }
protected function GetCategoryURL ( $ sListFilterItemId = false ) { $ sURL = '' ; if ( ! is_null ( $ this -> oRealCategory ) ) { if ( $ sListFilterItemId ) { $ sURL = $ this -> GetAddFilterURL ( $ sListFilterItemId ) ; } else { $ sURL = $ this -> oRealCategory -> GetLink ( ) ; } } return $ sURL ; }
Returns the URL of the category.
If tree was used as a filter function returns url to filter for the category.
If tree was used as normal category tree then function returns link to category detail page.

@param bool $sListFilterItemId

@return string
Returns the URL of the category . If tree was used as a filter function returns url to filter for the category . If tree was used as normal category tree then function returns link to category detail page .