new View()
new View() 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 View(string $component, ViewButtons|array $buttons = [], array $breadcrumb = [], string|null $class = null, string|null $search = null, string|null $style = null, string|null $title = null, mixed ...$attrs)
Parameters
| Name | Type | Default |
|---|---|---|
| $componentrequired | string |
no default value |
| $buttons | Kirby\Panel\Ui\Button\ViewButtonsorarray |
[]
|
| $breadcrumb | array |
[]
|
| $class | stringornull |
null
|
| $search | stringornull |
null
|
| $style | stringornull |
null
|
| $title | stringornull |
null
|
| ...$attrs | mixed |
no default value |