Skip to content

Kirby 3.5.7.1

Search::collection()

Native search method to search for anything within the collection

Search::collection(Kirby\Cms\Collection $collection, string $query = null, mixed $params = [ ]): Kirby\Cms\Collection|bool

Parameters

Name Type Default
$collection * Kirby\Cms\Collection
$query string null
$params mixed [ ]

Return type

Kirby\Cms\Collection|bool

Parent class

Kirby\Cms\Search