Forum und email

HttpQueryString::singleton

(PECL pecl_http:0.25.0-1.5.5)

HttpQueryString::singleton — HttpQueryString singleton

Beskrivelse

static public HttpQueryString HttpQueryString::singleton ([ bool $global = TRUE ] )

Get a single instance (differentiates between the global setting).

Parameterliste

global

whether to operate on $_GET and $_SERVER['QUERY_STRING']

Returneringsværdier

Returns always the same HttpQueryString instance regarding the global setting.

Errors/Exceptions

Throws HttpRuntimeException.