Skip to content

Kirby 3.9.8

$collection->query()

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

$collection->query(array $arguments = [ ]): Kirby\Cms\Collection

Parameters

Name Type Default
$arguments array [ ]

Return type

Kirby\Cms\Collection

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

Parent class

Kirby\Cms\Collection