Skip to content

Kirby 3.8.4

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