Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/almino/ci_pagination

Rewrite CI_Pagination class to be more compatible with different URI segments, languages and configurations.
https://github.com/almino/ci_pagination

Last synced: 6 days ago
JSON representation

Rewrite CI_Pagination class to be more compatible with different URI segments, languages and configurations.

Awesome Lists containing this project

README

        

CI_Pagination
=============

Rewrite CI_Pagination class to be more compatible with different URI segments, languages and configurations.

How to use
==========

You can use a 'pagination' config file or call the method 'initialize' with an array containing parameters.
All the configurations are merged. You don't need to pass all the parameters you've set in the config file.

To print links, call echo $this->pagination->links();.

Twitter Bootstrap compatibility
===============================

Now you can use Twitter Bootsrap pagination (http://twitter.github.io/bootstrap/components.html#pagination).

To print links, call echo $this->pagination->bootstrap_links();.