Skip to content

Kirby 4.2.0

$collection->view()

$collection->view(string $view): Kirby\Api\Collection

Parameters

Name Type Default
$view * string

Return type

Kirby\Api\Collection

This method does not modify the existing $collection object but returns a new object with the changes applied. Learn more →

Parent class

Kirby\Api\Collection