X-Git-Url: https://git.cweiske.de/phinde.git/blobdiff_plain/226508cd8d3e8c147ad314a0de483e08be71c254..f2b3557f358efc5b6363b1f8e4b0c30e93945feb:/src/phinde/Html/Pager.php diff --git a/src/phinde/Html/Pager.php b/src/phinde/Html/Pager.php index a14a53d..9726d95 100644 --- a/src/phinde/Html/Pager.php +++ b/src/phinde/Html/Pager.php @@ -57,6 +57,21 @@ class Html_Pager return $arLinks; } + public function getFullUrls() + { + $arLinks = $this->pager->getLinks(); + $arUrls = array(); + foreach ($arLinks['linkTagsRaw'] as $key => $link) { + if (isset($link['url'])) { + $arUrls[$key] = str_replace( + '&', '&', + Helper::fullUrl('/' . $link['url']) + ); + } + } + return $arUrls; + } + public function numPages() { return $this->pager->numPages();