original_string: 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;
      }
code: 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;
      }
code_tokens: 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 ; }
docstring: Returns the uri without any additional uri data.
  
  @access protected
  @param string $uri
  @return string
docstring_tokens: Returns the uri without any additional uri data .