system/Pager/Pager.php
public function makeLinks(int $page, int $perPage, int $total, string $template = 'default_full', int $segment = 0): string
	{
		$name = time();

		$this->store($name, $page, $perPage, $total, $segment);

		return $this->displayLinks($name, $template);
	}
public function makeLinks(int $page, int $perPage, int $total, string $template = 'default_full', int $segment = 0): string
	{
		$name = time();

		$this->store($name, $page, $perPage, $total, $segment);

		return $this->displayLinks($name, $template);
	}
Allows for a simple, manual, form of pagination where all of the data
is provided by the user. The URL is the current URI.

@param integer $page
@param integer $perPage
@param integer $total
@param string  $template The output template alias to render.
@param integer $segment  (if page number is provided by URI segment)

@return string