Skip to content

Kirby 4.5.0

$pagination->rangeEnd()

Returns the last page of the created range

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

Parameters

Name Type Default
$range int 5

Return type

int

Parent class

Kirby\Cms\Pagination inherited from Kirby\Toolkit\Pagination