Skip to content

Kirby 4.5.0

$pagination->range()

Creates a range of page numbers for Google-like pagination

$pagination->range(int $range = 5): array

Parameters

Name Type Default
$range int 5

Return type

array

Parent class

Kirby\Toolkit\Pagination