Skip to content

Kirby 4.4.1

Items::factory()

Creates a new item collection from a an array of item props

Items::factory(?array $items = null, array $params = [ ]): Kirby\Cms\Items

Parameters

Name Type Default
$items array|null null
$params array [ ]

Return type

Kirby\Cms\Items

Parent class

Kirby\Cms\Items