diff options
Diffstat (limited to 'src/phinde')
| -rw-r--r-- | src/phinde/Html/Pager.php | 15 |
1 files changed, 15 insertions, 0 deletions
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(); |
