Skip to content

Kirby 6.0.0

new Layouts()

Creates a new collection of items

new Layouts(iterable $objects = [], array $options = [])

Parameters

Name Type Default Description
$objects iterable<Kirby\Cms\Layout> []
$options array<string, mixed> [] Options incl. the parent model and field

Parent class

Kirby\Cms\Layouts inherited from Kirby\Cms\Items