private function getRequest($url) {
    $part = parse_url($url);

    if(isset($part['query'])) {
      parse_str($part['query'], $query);
      if(isset($query[$this->getParam])) {
        unset($query[$this->getParam]);
      }
      if(sizeof($query) > 0) {
        $request = $part['path'].http_build_query($query);
      } else {
        $request = $part['path'];
      }
    } else {
      $request = $part['path'];
    }

    return $request;
  }
private function getRequest($url) {
    $part = parse_url($url);

    if(isset($part['query'])) {
      parse_str($part['query'], $query);
      if(isset($query[$this->getParam])) {
        unset($query[$this->getParam]);
      }
      if(sizeof($query) > 0) {
        $request = $part['path'].http_build_query($query);
      } else {
        $request = $part['path'];
      }
    } else {
      $request = $part['path'];
    }

    return $request;
  }
private function getRequest ( $ url ) { $ part = parse_url ( $ url ) ; if ( isset ( $ part [ 'query' ] ) ) { parse_str ( $ part [ 'query' ] , $ query ) ; if ( isset ( $ query [ $ this -> getParam ] ) ) { unset ( $ query [ $ this -> getParam ] ) ; } if ( sizeof ( $ query ) > 0 ) { $ request = $ part [ 'path' ] . http_build_query ( $ query ) ; } else { $ request = $ part [ 'path' ] ; } } else { $ request = $ part [ 'path' ] ; } return $ request ; }
Get the request from a string to create a security token from.

@param string $url
URL to get request striong from.

@return string
Request string.
Get the request from a string to create a security token from .