Pages::factory()
Creates a pages collection from an array of props
Parameters
Name | Type | Default |
---|---|---|
$pages * | array |
– |
$model | Kirby\Cms\Page |Kirby\Cms\Site |null |
null |
$draft | bool |null |
null |
Creates a pages collection from an array of props
Name | Type | Default |
---|---|---|
$pages * | array |
– |
$model | Kirby\Cms\Page |Kirby\Cms\Site |null |
null |
$draft | bool |null |
null |