Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/almino/ci_pagination
- Owner: almino
- Created: 2012-06-06T23:19:05.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2013-05-26T13:54:16.000Z (over 11 years ago)
- Last Synced: 2024-11-23T16:20:21.529Z (2 months ago)
- Language: PHP
- Size: 102 KB
- Stars: 1
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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();
.