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