Skip to content

Kirby 3.6.6

View::response()

Renders the main panel view either as JSON response or full HTML document based on the request header or query params

View::response(mixed $data, array $options = [ ]): Kirby\Http\Response

Parameters

Name Type Default
$data * mixed
$options array [ ]

Return type

Kirby\Http\Response

Parent class

Kirby\Panel\View