http
PHP Manual

HttpRequest::setQueryData

(PECL pecl_http:0.10.0-1.5.5)

HttpRequest::setQueryData — Set query data

Descripción

public bool HttpRequest::setQueryData ( mixed $query_data )

Set the URL query parameters to use, overwriting previously set query parameters.

Affects any request types.

Lista de parámetros

query_data

a string or associative array parameter containing the pre-encoded query string or to be encoded query fields; if empty, the query data will be unset

Valores retornados

Devuelve TRUE si todo se llevó a cabo correctamente, FALSE en caso de fallo.


http
PHP Manual