protected function getFilterUri($currentUri, $filter, $option)
    {
        return sprintf('%s?filter=%s&option=%s', false !== ($pos = strpos($currentUri, '?')) ? substr($currentUri, 0, $pos) : $currentUri, $filter, $option);
    }
protected function getFilterUri($currentUri, $filter, $option)
    {
        return sprintf('%s?filter=%s&option=%s', false !== ($pos = strpos($currentUri, '?')) ? substr($currentUri, 0, $pos) : $currentUri, $filter, $option);
    }
protected function getFilterUri ( $ currentUri , $ filter , $ option ) { return sprintf ( '%s?filter=%s&option=%s' , false !== ( $ pos = strpos ( $ currentUri , '?' ) ) ? substr ( $ currentUri , 0 , $ pos ) : $ currentUri , $ filter , $ option ) ; }
Generates the filter uri.

@param $currentUri
@param $filter
@param $option

@return string
Generates the filter uri .