PHP Manual

The HttpQueryString class

Class synopsis

HttpQueryString implements ArrayAccess , Serializable {
final public void HttpQueryString::__construct ([ bool $global = TRUE [, mixed $add ]] )
public mixed HttpQueryString::get ([ string $key [, mixed $type = 0 [, mixed $defval = NULL [, bool $delete = FALSE ]]]] )
public HttpQueryString HttpQueryString::mod ( mixed $params )
public string HttpQueryString::set ( mixed $params )
static public HttpQueryString HttpQueryString::singleton ([ bool $global = TRUE ] )
public array HttpQueryString::toArray ( void )
public string HttpQueryString::toString ( void )
public bool HttpQueryString::xlate ( string $ie , string $oe )

Class Members


Instance Properties
Modifiers Type Name Description
private array queryArray query parameters
private string queryString serialized query parameters
Static Properties
Modifiers Type Name Description
private array instance holds singletons

Predefined Constants

Type Name Description
int TYPE_BOOL retrieve query param as bool
int TYPE_INT retrieve query param as int
int TYPE_FLOAT retrieve query param as float
int TYPE_STRING retrieve query param as string
int TYPE_ARRAY retrieve query param as array
int TYPE_OBJECT retrieve query param as object

Table of Contents

PHP Manual