summaryrefslogtreecommitdiff
path: root/app/Core/Paginator.php
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2015-05-24 16:02:25 -0400
committerFrederic Guillot <fred@kanboard.net>2015-05-24 16:02:25 -0400
commiteeac2329baab1fdae7cbf6c707ed2ffd8beb4c1b (patch)
tree511c2fe47f8fbb1ea90e59e7a7a7f5e3530aa9ed /app/Core/Paginator.php
parent65e9e5d1bed9f88ecfd43eb2c1e780a7c22c151f (diff)
Helpers refactoring
Diffstat (limited to 'app/Core/Paginator.php')
-rw-r--r--app/Core/Paginator.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/Core/Paginator.php b/app/Core/Paginator.php
index 4d4364dd..12cc05a1 100644
--- a/app/Core/Paginator.php
+++ b/app/Core/Paginator.php
@@ -349,7 +349,7 @@ class Paginator
$html = '<span class="pagination-previous">';
if ($this->offset > 0) {
- $html .= $this->container['helper']->a(
+ $html .= $this->container['helper']->url->link(
'&larr; '.t('Previous'),
$this->controller,
$this->action,
@@ -376,7 +376,7 @@ class Paginator
$html = '<span class="pagination-next">';
if (($this->total - $this->offset) > $this->limit) {
- $html .= $this->container['helper']->a(
+ $html .= $this->container['helper']->url->link(
t('Next').' &rarr;',
$this->controller,
$this->action,
@@ -451,7 +451,7 @@ class Paginator
$direction = $this->direction === 'DESC' ? 'ASC' : 'DESC';
}
- return $prefix.$this->container['helper']->a(
+ return $prefix.$this->container['helper']->url->link(
$label,
$this->controller,
$this->action,