| @@ 64-72 (lines=9) @@ | ||
| 61 | * |
|
| 62 | * @return string |
|
| 63 | */ |
|
| 64 | protected function getPrevLink() |
|
| 65 | { |
|
| 66 | if(!($sCall = $this->xPaginator->getPrevCall())) |
|
| 67 | { |
|
| 68 | return ''; |
|
| 69 | } |
|
| 70 | return $this->xTemplate->render('pagination::links/prev', |
|
| 71 | ['call' => $sCall, 'text' => $this->xPaginator->getPreviousText()]); |
|
| 72 | } |
|
| 73 | ||
| 74 | /** |
|
| 75 | * Render the next link. |
|
| @@ 79-87 (lines=9) @@ | ||
| 76 | * |
|
| 77 | * @return string |
|
| 78 | */ |
|
| 79 | protected function getNextLink() |
|
| 80 | { |
|
| 81 | if(!($sCall = $this->xPaginator->getNextCall())) |
|
| 82 | { |
|
| 83 | return ''; |
|
| 84 | } |
|
| 85 | return $this->xTemplate->render('pagination::links/next', |
|
| 86 | ['call' => $sCall, 'text' => $this->xPaginator->getNextText()]); |
|
| 87 | } |
|
| 88 | ||
| 89 | /** |
|
| 90 | * Render the pagination links. |
|