Skip to content

Kirby 5.0.4

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
$datarequired array no default value

Return type

array

Parent class

Kirby\Panel\View