Skip to content

Kirby 5.0.1

$params->get()

Gets one or multiple properties of the object

$params->get(array|string $property, mixed $fallback = null)

Parameters

Name Type Default Description
$propertyrequired arrayorstring no default value
$fallback mixed null If multiple properties are requested:
Associative array of fallback values per key

Parent class

Kirby\Http\Params inherited from Kirby\Toolkit\Obj