Skip to content

Kirby 3.6.6

$collection->select()

$collection->select(string|array|null $keys = null): Kirby\Api\Collection

Parameters

Name Type Default
$keys string|array|null null

Return type

Kirby\Api\Collection

This method modifies the existing $collection object it is applied to and returns it again.

Exceptions

Type Description
Exception

Parent class

Kirby\Api\Collection