©
Ce document utilise Manuel du site Web PHP chinois Libérer
(PECL pecl_http >= 0.22.0)
$global
= true
[, mixed $add
]] )$key
[, mixed $type
= 0
[, mixed $defval
= NULL
[, bool $delete
= false
]]]] )$params
)$params
)$global
= true
] )$ie
, string $oe
)Modifiers | Type | Name | Description |
---|---|---|---|
private | array | queryArray | query parameters |
private | string | queryString | serialized query parameters |
Modifiers | Type | Name | Description |
---|---|---|---|
private | array | instance | holds singletons |
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 |
[#1] Anonymous [2010-10-26 06:20:48]
This may sound obvious but just a reminder: this object only works with parameters submitted via GET method. Variables submitted via POST will not be parsed by this object.