Skip to content

Kirby 4.4.1

$layouts->search()

Searches the collection

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

Parameters

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

Return type

Kirby\Cms\Layouts

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

Parent class

Kirby\Cms\Layouts inherited from Kirby\Cms\Collection