Skip to content

Kirby 3.5.7.1

$pages->query()

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

$pages->query(array $query = [ ]): Kirby\Cms\Pages

Parameters

Name Type Default
$query array [ ]

Return type

Kirby\Cms\Pages

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

Parent class

Kirby\Cms\Pages inherited from Kirby\Cms\Collection