summaryrefslogtreecommitdiffstats
path: root/user_guide_src/source/libraries/pagination.rst
diff options
context:
space:
mode:
authorAhmad Anbar <aanbar@gmail.com>2015-02-04 18:20:01 +0100
committerAhmad Anbar <aanbar@gmail.com>2015-02-04 18:20:01 +0100
commite5454f9b28f123a5549971f580255a065b2f8cc2 (patch)
treec4927e7b7afb0bf242976034630cc60f2f1db00f /user_guide_src/source/libraries/pagination.rst
parent6db62ab0ad0e223806a1367e12b1884b48dc65d7 (diff)
parenteccac6e6a73a4d1a5b40f383ce64359c2c94ae12 (diff)
Merge remote-tracking branch 'upstream/develop' into develop
Diffstat (limited to 'user_guide_src/source/libraries/pagination.rst')
-rw-r--r--user_guide_src/source/libraries/pagination.rst12
1 files changed, 9 insertions, 3 deletions
diff --git a/user_guide_src/source/libraries/pagination.rst b/user_guide_src/source/libraries/pagination.rst
index 8c5c2c63a..913717c67 100644
--- a/user_guide_src/source/libraries/pagination.rst
+++ b/user_guide_src/source/libraries/pagination.rst
@@ -131,6 +131,12 @@ the offset segment.
A custom suffix added to the path. The sufix value will be right after
the offset segment.
+**$config['use_global_url_suffix'] = FALSE;**
+
+When set to TRUE, it will **override** the ``$config['suffix']`` value and
+instead set it to the one that you have in ``$config['url_suffix']`` in
+your **application/config/config.php** file.
+
***********************
Adding Enclosing Markup
***********************
@@ -290,9 +296,9 @@ you can pass boolean FALSE as a regular attribute
Class Reference
***************
-.. class:: CI_Pagination
+.. php:class:: CI_Pagination
- .. method:: initialize([$params = array()])
+ .. php:method:: initialize([$params = array()])
:param array $params: Configuration parameters
:returns: CI_Pagination instance (method chaining)
@@ -300,7 +306,7 @@ Class Reference
Initializes the Pagination class with your preferred options.
- .. method:: create_links()
+ .. php:method:: create_links()
:returns: HTML-formatted pagination
:rtype: string