Skip to content

$layouts->query()

Runs a combination of filter, sort, not, offset, limit, search and paginate on the collection.

$layouts->query(array $query = [ ]): Kirby\Cms\Layouts

Parameters

Name Type Default
$query array [ ]

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