MarkupPagerNav::getURL() method

Get URL for given pagination number

Requires that render() method has already started or been previously called.

Usage

// basic usage
$string = $pager->getURL(int $pageNum);

// usage with all arguments
$string = $pager->getURL(int $pageNum, bool $http = false);

Arguments

NameType(s)Description
$pageNumint
$http (optional)bool

Include scheme and hostname?

Return value

string


$pager methods and properties

API reference based on ProcessWire core version 3.0.252