Skip to content

Kirby 6.0.0

new PagePickerDialogController()

new PagePickerDialogController() 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 PagePickerDialogController(ModelWithContent $model, bool $hasSearch = true, array|string|false|null $image = [], string|null $info = null, string $layout = 'list', int|null $limit = null, int|null $max = null, bool $multiple = true, string|null $query = null, bool|null $subpages = true, string|null $size = null, string|null $text = null)

Parameters

Name Type Default
$modelrequired Kirby\Cms\ModelWithContent no default value
$hasSearch bool true
$image arrayorstringorfalseornull []
$info stringornull null
$layout string 'list'
$limit intornull null
$max intornull null
$multiple bool true
$query stringornull null
$subpages boolornull true
$size stringornull null
$text stringornull null

Parent class

Kirby\Panel\Controller\Dialog\PagePickerDialogController