Serializable
, ArrayAccess
, IteratorAggregate
The http\QueryString class provides versatile facilities to retrieve, use and manipulate query strings and form data.
bool
.int
.float
.string
.array
.NULL
array
$queryArray# = NULL
Create an independent querystring instance.
void
http\QueryString::__construct([mixed
$params = NULL
])
Get the string
representation of the querystring (x-www-form-urlencoded).
Retrieve an querystring value.
mixed
http\QueryString::get([string
$name = NULL
[, mixed
$type = NULL
[, mixed
$defval = NULL
[, bool
$delete = false
]]]])
Retrieve an array
value with at offset $name.
array
http\QueryString::getArray(string
$name[, mixed
$defval = NULL
[, bool
$delete = false
]])
Retrieve a boolean
value at offset $name.
bool
http\QueryString::getBool(string
$name[, mixed
$defval = NULL
[, bool
$delete = false
)
Retrieve a float
value at offset $name.
float
http\QueryString::getFloat(string
$name[, mixed
$defval = NULL
[, bool
$delete = false
)
Retrieve the global querystring instance referencing $_GET.
static http\QueryString http\QueryString::getGlobalInstance()
Retrieve a int
value at offset $name.
int
http\QueryString::getInt(string
$name[, mixed
$defval = NULL
[, bool
$delete = false
)
Implements IteratorAggregate
.
Retrieve a object value with at offset $name.
object http\QueryString::getObject(string
$name[, mixed
$defval = NULL
[, bool
$delete = false
)
Retrieve a string
value with at offset $name.
string
http\QueryString::getString(string
$name[, mixed
$defval = NULL
[, bool
$delete = false
)
Set additional $params to a clone of this instance.
http\QueryString http\QueryString::mod(mixed
$params = NULL
)
Implements ArrayAccess
.
Implements ArrayAccess
.
Implements ArrayAccess
.
void
http\QueryString::offsetSet(string
$name, mixed
$data)
Implements ArrayAccess
.
Implements Serializable
.
Set additional querystring entries.
http\QueryString http\QueryString::set(mixed
$params)
Simply returns http\QueryString::$queryArray.
Get the string
representation of the querystring (x-www-form-urlencoded).
Implements Serializable
.
void
http\QueryString::unserialize(string
$serialized)
Translate character encodings of the querystring with ext/iconv.
http\QueryString http\QueryString::xlate($from_enc, $to_enc)