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