HttpQueryString::get
(PECL pecl_http:0.22.0-1.5.5)
HttpQueryString::get — Get (part of) query string
Описание
Get (part of) the query string.
The type parameter is either one of the HttpQueryString::TYPE_* constants or a type abbreviation like "b" for bool, "i" for int, "f" for float, "s" for string, "a" for array and "o" for a stdClass object.
Список параметров
- key
-
key of the query string param to retrieve
- type
-
which variable type to enforce
- defval
-
default value if key does not exist
- delete
-
whether to remove the key/value pair from the query string
Возвращаемые значения
Returns the value of the query string param or the whole query string if no key was specified on success or defval if key does not exist.
- Функция 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
Коментарии
404 Not Found