public function query($array = false)
    {
        $query = (!empty($this->url['query']) ? $this->url['query'] : '');

        if ($array) {
            parse_str($query, $query);

            return $query;
        } else {
            return $query;
        }
    }
public function query($array = false)
    {
        $query = (!empty($this->url['query']) ? $this->url['query'] : '');

        if ($array) {
            parse_str($query, $query);

            return $query;
        } else {
            return $query;
        }
    }
public function query ( $ array = false ) { $ query = ( ! empty ( $ this -> url [ 'query' ] ) ? $ this -> url [ 'query' ] : '' ) ; if ( $ array ) { parse_str ( $ query , $ query ) ; return $ query ; } else { return $ query ; } }
Return query url.

@param  bool $array If return array or string
@return mixed   Query Url
Return query url .