@@ -96,12 +96,12 @@ |
||
96 | 96 | } |
97 | 97 | |
98 | 98 | return '<ul class="pagination">' . |
99 | - $this->_renderListItem($this->_currentPage - 1, $this->_getFirstPageUrl(), $this->_firstPageSymbol) . |
|
100 | - $this->_renderListItem($this->_currentPage - 1, $this->_getPreviousPageUrl(), $this->_previousPageSymbol) . |
|
101 | - $this->_renderPageList() . |
|
102 | - $this->_renderListItem($this->_currentPage + 1, $this->_getNextPageUrl(), $this->_nextPageSymbol) . |
|
103 | - $this->_renderListItem($this->_currentPage + 1, $this->_getLastPageUrl(), $this->_lastPageSymbol) . |
|
104 | - '</ul>'; |
|
99 | + $this->_renderListItem($this->_currentPage - 1, $this->_getFirstPageUrl(), $this->_firstPageSymbol) . |
|
100 | + $this->_renderListItem($this->_currentPage - 1, $this->_getPreviousPageUrl(), $this->_previousPageSymbol) . |
|
101 | + $this->_renderPageList() . |
|
102 | + $this->_renderListItem($this->_currentPage + 1, $this->_getNextPageUrl(), $this->_nextPageSymbol) . |
|
103 | + $this->_renderListItem($this->_currentPage + 1, $this->_getLastPageUrl(), $this->_lastPageSymbol) . |
|
104 | + '</ul>'; |
|
105 | 105 | } |
106 | 106 | |
107 | 107 | /** |
@@ -166,7 +166,7 @@ |
||
166 | 166 | $end = $this->_getEndPage(); |
167 | 167 | |
168 | 168 | $pageList = ''; |
169 | - for ($i = $this->_getStartPage(); $i <= $end; $i ++) |
|
169 | + for ($i = $this->_getStartPage(); $i <= $end; $i++) |
|
170 | 170 | { |
171 | 171 | $pageList .= $this->_renderListItem($i, $this->_buildPageUrl($i)); |
172 | 172 | } |
@@ -284,9 +284,9 @@ |
||
284 | 284 | } |
285 | 285 | |
286 | 286 | return TableRenderer::open($this->_classes) . |
287 | - TableRenderer::renderHeaders($this->_fetchHeaders(), $this->_headerFormatters) . |
|
288 | - TableRenderer::renderBody($data, $this->_columns) . |
|
289 | - TableRenderer::close(); |
|
287 | + TableRenderer::renderHeaders($this->_fetchHeaders(), $this->_headerFormatters) . |
|
288 | + TableRenderer::renderBody($data, $this->_columns) . |
|
289 | + TableRenderer::close(); |
|
290 | 290 | } |
291 | 291 | |
292 | 292 | /** |
@@ -77,9 +77,9 @@ |
||
77 | 77 | private function _renderLink(string $name, string $url) : string |
78 | 78 | { |
79 | 79 | return '<a href="' . $url . '"' . |
80 | - ($this->_openNew ? ' target="_blank"' : '') . |
|
81 | - (!empty($this->_classes) ? (' class="' . $this->_classes . '"') : '') . |
|
82 | - '>' . $name . '</a>'; |
|
80 | + ($this->_openNew ? ' target="_blank"' : '') . |
|
81 | + (!empty($this->_classes) ? (' class="' . $this->_classes . '"') : '') . |
|
82 | + '>' . $name . '</a>'; |
|
83 | 83 | } |
84 | 84 | |
85 | 85 | /** |