Skip to content

Kirby 4.2.0

$collection->render()

Renders each item with a model and returns an array of all rendered results

$collection->render(Kirby\Cms\ModelWithContent $model): array

Parameters

Name Type Default
$model * Kirby\Cms\ModelWithContent

Return type

array

Parent class

Kirby\Blueprint\Collection