Skip to content

Kirby 4.5.0

$options->search()

Searches the collection

$options->search(?string $query = null, array|string $params = [ ]): Kirby\Option\Options

Parameters

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

Return type

Kirby\Option\Options

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

Parent class

Kirby\Option\Options inherited from Kirby\Cms\Collection