$curr =
$this->
getCurrentPage($group);
$page = null;
if (!
empty($last) && !
empty($curr) &&
$last ===
$curr) { return null;
} if ($last >
$curr) { $page =
$curr + 1;
} return $this->
getPageURI($page,
$group,
$returnObject);
} /**
* Returns the full URL to the previous page of results, or null.
*
* @return string|null
*/
public function getPreviousPageURI(string
$group = 'default', bool
$returnObject = false
) { $this->
ensureGroup($group);