Pagination Helper
Some helper functions to use with the CodeIgniter Pagination Library.
Functions
create_pagination($uri, $total_rows, $limit = null, $uri_segment = 4)
Helps you generate basic pagination. If you want something more flexible, use the actual Pagination library.
Name | Default | Required | Description |
---|---|---|---|
uri | Yes | The URI to base pagination off. | |
total_rows | Yes | The total of the items to paginate. | |
limit | (Site Settings Records Per Page) | No | How many items to per page. |
uri_segment | 4 | No | The URI Segment with the current page param |