HttpQueryString
class HttpQueryString implements Serializable, ArrayAccess (View source)
Constants
TYPE_BOOL |
|
TYPE_INT |
|
TYPE_FLOAT |
|
TYPE_STRING |
|
TYPE_ARRAY |
|
TYPE_OBJECT |
|
Methods
(PECL pecl_http >= 0.22.0)
HttpQueryString constructor
(PECL pecl_http >= 0.22.0)
Get query string as array
(PECL pecl_http >= 0.22.0)
Get query string
No description
(PECL pecl_http >= 0.22.0)
Get (part of) query string
(PECL pecl_http >= 0.22.0)
Set query string params
(PECL pecl_http >= 1.1.0)
Modifiy query string copy
No description
No description
No description
No description
No description
No description
No description
(PECL pecl_http >= 0.25.0)
HttpQueryString singleton
(PECL pecl_http >= 0.25.0)
Change query strings charset
String representation of object
Offset to retrieve
Constructs the object
Whether a offset exists
Offset to set
Offset to unset
Details
final
__construct(bool $global = null, mixed $add = null)
(PECL pecl_http >= 0.22.0)
HttpQueryString constructor
array
toArray()
(PECL pecl_http >= 0.22.0)
Get query string as array
string
toString()
(PECL pecl_http >= 0.22.0)
Get query string
string
__toString()
No description
mixed
get(string $key = null, mixed $type = null, mixed $defval = null, bool $delete = null)
(PECL pecl_http >= 0.22.0)
Get (part of) query string
string
set(mixed $params)
(PECL pecl_http >= 0.22.0)
Set query string params
HttpQueryString
mod(mixed $params)
(PECL pecl_http >= 1.1.0)
Modifiy query string copy
getBool($name, $defval, $delete)
No description
getInt($name, $defval, $delete)
No description
getFloat($name, $defval, $delete)
No description
getString($name, $defval, $delete)
No description
getArray($name, $defval, $delete)
No description
getObject($name, $defval, $delete)
No description
static
factory($global, $params, $class_name)
No description
static HttpQueryString
singleton(bool $global = null)
(PECL pecl_http >= 0.25.0)
HttpQueryString singleton
bool
xlate(string $ie, string $oe)
(PECL pecl_http >= 0.25.0)
Change query strings charset
string|null
serialize()
String representation of object
mixed
offsetGet(TKey $offset)
Offset to retrieve
void
unserialize(string $serialized)
Constructs the object
bool
offsetExists(TKey $offset)
Whether a offset exists
void
offsetSet(TKey $offset, TValue $value)
Offset to set
void
offsetUnset(TKey $offset)
Offset to unset