From 556fff9ff0b4c81635d3d9f73f8227cad3de986a Mon Sep 17 00:00:00 2001 From: Taylor Otwell Date: Thu, 21 Jul 2011 08:46:37 -0700 Subject: [PATCH] Added better language support for Pagination library. --- system/paginator.php | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/system/paginator.php b/system/paginator.php index b601c17c..a2444fc8 100644 --- a/system/paginator.php +++ b/system/paginator.php @@ -81,14 +81,15 @@ public static function page($total, $per_page) /** * Create the HTML pagination links. * + * @param string $language * @param int $adjacent * @return string */ - public function links($adjacent = 3) + public function links($language = null, $adjacent = 3) { if ($this->last_page() > 1) { - return '