Forum und email

HttpQueryString::singleton

(PECL pecl_http:0.25.0-1.5.5)

HttpQueryString::singleton — Récupère un instance simple de HttpQueryString

Description

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

Récupère une instance simple (différente de la configuration globale).

Liste de paramètres

global

si l'on doit utiliser $_GET et $_SERVER['QUERY_STRING']

Valeurs de retour

Retourne toujours la même instance de HttpQueryString vis-à-vis de la configuration globale.

Erreurs / Exceptions

Lance une exception HttpRuntimeException.