$pagePicker->itemsToArray()
Converts all given items to an associative array that is already optimized for the panel picker component.
$pagePicker->itemsToArray(Kirby\Cms\Collection|null $items = null): array
Parameters
Name | Type | Default |
---|---|---|
$items | Kirby\Cms\Collection ornull |
null
|
Return type
array
This method modifies the existing $pagepicker
object it is applied to and returns it again.
Parent class
Kirby\Cms\PagePicker
inherited from Kirby\Cms\Picker