Skip to content

Kirby 4.5.0

View::apply()

Filters the data array based on headers or query parameters. Requests can return only certain data fields that way or globals can be injected on demand.

View::apply(array $data): array

Parameters

Name Type Default
$data * array

Return type

array

Parent class

Kirby\Panel\View