Skip to content

Kirby 4.5.0

$fieldsets->search()

Searches the collection

$fieldsets->search(?string $query = null, array|string $params = [ ]): Kirby\Cms\Fieldsets

Parameters

Name Type Default
$query string|null null
$params array|string [ ]

Return type

Kirby\Cms\Fieldsets

This method does not modify the existing $fieldsets object but returns a new object with the changes applied. Learn more →

Parent class

Kirby\Cms\Fieldsets inherited from Kirby\Cms\Collection