The HttpQueryString class
(PECL pecl_http >= 0.22.0)
Class synopsis
Class Members
Properties
Modifiers | Type | Name | Description |
---|---|---|---|
private | array | queryArray | query parameters |
private | string | queryString | serialized query parameters |
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
- HttpQueryString::__construct — HttpQueryString constructor
- HttpQueryString::get — Get (part of) query string
- HttpQueryString::mod — Modifiy query string copy
- HttpQueryString::set — Set query string params
- HttpQueryString::singleton — HttpQueryString singleton
- HttpQueryString::toArray — Get query string as array
- HttpQueryString::toString — Get query string
- HttpQueryString::xlate — Change query strings charset
[an error occurred while processing the directive]
- Введение
- Установка и настройка
- Предопределенные константы
- Options usable with the HttpRequest class and request functions
- The HttpDeflateStream class
- The HttpInflateStream class
- The HttpMessage class
- The HttpQueryString class
- The HttpRequest
- The HttpRequestPool class
- The HttpResponse
- HTTP Функции
Коментарии
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.