@@ -92,6 +92,10 @@ |
||
| 92 | 92 | $result[$pageId] = $mainPage; |
| 93 | 93 | } |
| 94 | 94 | |
| 95 | + /** |
|
| 96 | + * @param string $pageId |
|
| 97 | + * @param integer $pageIndex |
|
| 98 | + */ |
|
| 95 | 99 | private function createPagination($pageId, $pageIndex) { |
| 96 | 100 | $next = count($this->entries) ? $pageIndex + 1 : null; |
| 97 | 101 | $nextUrl = $next ? "{$pageId}/page-{$next}" : null; |