Skip to content

Kirby 4.4.1

$translations->search()

Searches the collection

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

Parameters

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

Return type

Kirby\Cms\Translations

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

Parent class

Kirby\Cms\Translations inherited from Kirby\Cms\Collection