Skip to content

Kirby 3.9.8

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($data, array $options = [ ]): Kirby\Http\Response

Parameters

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

Return type

Kirby\Http\Response

Parent class

Kirby\Panel\View