$fields->search()
Searches the collection
$fields->search(string|null $query = null, array|string $params = []): Fields
Parameters
| Name | Type | Default |
|---|---|---|
| $query | stringornull |
null
|
| $params | arrayorstring |
[]
|
Return type
This method does not modify the existing $fields object but returns a new object with the changes applied. Learn more →
Parent class
Kirby\Form\Fields
inherited from Kirby\Cms\Collection