Skip to content

$files->query()

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

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

Parameters

Name Type Default
$query array [ ]

Return type

Kirby\Cms\Collection

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

Parent class

Kirby\Cms\Files inherited from Kirby\Cms\Collection