@@ -78,6 +78,9 @@ |
||
| 78 | 78 | return "<li class='page-item'><a class='page-link' href=\"{$href}\" >{$label}{$only}</a></li>\n"; |
| 79 | 79 | } |
| 80 | 80 | |
| 81 | + /** |
|
| 82 | + * @param string $label |
|
| 83 | + */ |
|
| 81 | 84 | private function liLabel(Page $p, $label) |
| 82 | 85 | { |
| 83 | 86 | return "<li class=\"{$p->isCurrent('disabled')}\"><a class='page-link' href=\"{$p->isCurrent('#', $p->getUrl())}\" >{$label}</a></li>\n"; |
@@ -185,7 +185,7 @@ discard block |
||
| 185 | 185 | return $this->path; |
| 186 | 186 | } |
| 187 | 187 | $page = (int)$page; |
| 188 | - return $this->path . '?' . $this->pagerKey . '=' . $page; |
|
| 188 | + return $this->path.'?'.$this->pagerKey.'='.$page; |
|
| 189 | 189 | } |
| 190 | 190 | |
| 191 | 191 | /** |
@@ -203,7 +203,7 @@ discard block |
||
| 203 | 203 | { |
| 204 | 204 | $class = $this->defaultToHtml; |
| 205 | 205 | $toHtml = new $class(Paginate::forge($this)); |
| 206 | - return (string) $toHtml; |
|
| 206 | + return (string)$toHtml; |
|
| 207 | 207 | } |
| 208 | 208 | |
| 209 | 209 | /** |