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 |
[ ] |
Creates a new item collection from a an array of item props
Items::factory(?array $items = null, array $params = [ ]): Kirby\Cms\Items
Name | Type | Default |
---|---|---|
$items | array |null |
null |
$params | array |
[ ] |