Search::collection()
Native search method to search for anything within the collection
Parameters
Name | Type | Default |
---|---|---|
$collection * | Kirby\Cms\Collection |
– |
$query | string |
null |
$params | mixed |
[ ] |
Return type
Kirby\Cms\Collection
|bool