Skip to content

Kirby 4.5.0

$pagepicker->modelForQuery()

Returns a model object for the given query, depending on the parent and subpages options.

$pagepicker->modelForQuery(): Kirby\Cms\Page|Kirby\Cms\Site|null

Return type

Kirby\Cms\Page|Kirby\Cms\Site|null

Parent class

Kirby\Cms\PagePicker