Skip to content

Kirby 5.0.4

new ViewButtons()

new ViewButtons() has been marked as unstable. It might be changed in a future Kirby major or minor release without being considered a breaking change. Use with caution.

new ViewButtons(string $view, Kirby\Cms\ModelWithContent|Kirby\Cms\Language|null $model = null, array|false|null $buttons = null, array $data = [ ])

Parameters

Name Type Default
$viewrequired string no default value
$model Kirby\Cms\ModelWithContentorKirby\Cms\Languageornull null
$buttons arrayorfalseornull null
$data array [ ]

Parent class

Kirby\Panel\Ui\Buttons\ViewButtons