Skip to content

Kirby 4.4.1

$request->get()

Returns any data field from the request if it exists

$request->get(array|string|null $key = null, $fallback = null)

Parameters

Name Type Default
$key array|string|null null
$fallback mixed null

Parent class

Kirby\Http\Request