protected function removeAdditionalUriData($uri)
    {
        if (strpos($uri, '?') !== false) {
            return substr($uri, 0, strpos($uri, '?'));
        } else if (strpos($uri, '#') !== false) {
            return substr($uri, 0, strpos($uri, '#'));
        }
        
        return $uri;
    }
protected function removeAdditionalUriData($uri)
    {
        if (strpos($uri, '?') !== false) {
            return substr($uri, 0, strpos($uri, '?'));
        } else if (strpos($uri, '#') !== false) {
            return substr($uri, 0, strpos($uri, '#'));
        }
        
        return $uri;
    }
protected function removeAdditionalUriData ( $ uri ) { if ( strpos ( $ uri , '?' ) !== false ) { return substr ( $ uri , 0 , strpos ( $ uri , '?' ) ) ; } else if ( strpos ( $ uri , '#' ) !== false ) { return substr ( $ uri , 0 , strpos ( $ uri , '#' ) ) ; } return $ uri ; }
Returns the uri without any additional uri data.

@access protected
@param string $uri
@return string
Returns the uri without any additional uri data .