summaryrefslogtreecommitdiffstats
path: root/system/libraries/Pagination.php
diff options
context:
space:
mode:
authorAndrey Andreev <narf@devilix.net>2014-02-08 18:11:40 +0100
committerAndrey Andreev <narf@devilix.net>2014-02-08 18:11:40 +0100
commit6f6102c805198101fad36024b82692ebce20f2c8 (patch)
treea26c8c793633df4eb0911ba0128382a9c8141a36 /system/libraries/Pagination.php
parenta89c1dabd11e8628106b1629f76ec9fc65c20085 (diff)
Add method chaining support to Calendar & Pagination libs
Diffstat (limited to 'system/libraries/Pagination.php')
-rw-r--r--system/libraries/Pagination.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/system/libraries/Pagination.php b/system/libraries/Pagination.php
index c6ffd03d4..f67cb47f8 100644
--- a/system/libraries/Pagination.php
+++ b/system/libraries/Pagination.php
@@ -314,7 +314,7 @@ class CI_Pagination {
* Initialize Preferences
*
* @param array $params Initialization parameters
- * @return void
+ * @return CI_Pagination
*/
public function initialize($params = array())
{
@@ -342,6 +342,8 @@ class CI_Pagination {
}
}
}
+
+ return $this;
}
// --------------------------------------------------------------------