public function hasQueryVar($key)
  {
    if(!$this->hasQuery()) return FALSE;

    parse_str($this->query, $queryArray);

    return array_key_exists($key, $queryArray) ? TRUE : FALSE;
  }
public function hasQueryVar($key)
  {
    if(!$this->hasQuery()) return FALSE;

    parse_str($this->query, $queryArray);

    return array_key_exists($key, $queryArray) ? TRUE : FALSE;
  }
public function hasQueryVar ( $ key ) { if ( ! $ this -> hasQuery ( ) ) return FALSE ; parse_str ( $ this -> query , $ queryArray ) ; return array_key_exists ( $ key , $ queryArray ) ? TRUE : FALSE ; }
Returns TRUE if the URI has a query variable.

@return boolean
Returns TRUE if the URI has a query variable .