Skip to content

Kirby 5.1.2

$assets->query()

Runs a combination of filter, sort, not, offset, limit, search and paginate on the collection. Any part of the query is optional.

$assets->query(array $arguments = [ ]): Kirby\Plugin\Assets

Parameters

Name Type Default
$arguments array [ ]

Return type

Kirby\Plugin\Assets

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

Parent class

Kirby\Plugin\Assets inherited from Kirby\Cms\Collection