Skip to content

Kirby 4.4.1

$query->page()

Automatically adds pagination to a query

$query->page(int $page, int $limit): object

Parameters

Name Type Default Description
$page * int
$limit * int The number of rows, which should be returned for each page

Return type

object

Parent class

Kirby\Database\Query