PHP Класс Webiny\Component\Http\Request\Query

Наследование: use trait Webiny\Component\StdLib\StdLibTrait
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
__construct ( ) Constructor.
get ( string $key, null $value = null ) : string Get the value from GET for the given $key.
getAll ( ) : array Returns a list of all GET values.

Описание методов

__construct() публичный метод

Constructor.
public __construct ( )

get() публичный метод

Get the value from GET for the given $key.
public get ( string $key, null $value = null ) : string
$key string Key name.
$value null Default value that will be returned if the $key is not found.
Результат string Value under the defined $key.

getAll() публичный метод

Returns a list of all GET values.
public getAll ( ) : array
Результат array