root/trunk/system/config/pagination.php
| Revision 3326, 0.9 kB (checked in by Shadowhand, 2 months ago) | |
|---|---|
|
|
| Line | |
|---|---|
| 1 | <?php |
| 2 | /** |
| 3 | * @package Pagination |
| 4 | * |
| 5 | * Pagination configuration is defined in groups which allows you to easily switch |
| 6 | * between different pagination settings for different website sections. |
| 7 | * Note: all groups inherit and overwrite the default group. |
| 8 | * |
| 9 | * Group Options: |
| 10 | * directory - Views folder in which your pagination style templates reside |
| 11 | * style - Pagination style template (matches view filename) |
| 12 | * uri_segment - URI segment (int or 'label') in which the current page number can be found |
| 13 | * query_string - Alternative to uri_segment: query string key that contains the page number |
| 14 | * items_per_page - Number of items to display per page |
| 15 | * auto_hide - Automatically hides pagination for single pages |
| 16 | */ |
| 17 | $config['default'] = array |
| 18 | ( |
| 19 | 'directory' => 'pagination', |
| 20 | 'style' => 'classic', |
| 21 | 'uri_segment' => 3, |
| 22 | 'query_string' => '', |
| 23 | 'items_per_page' => 20, |
| 24 | 'auto_hide' => FALSE, |
| 25 | ); |
Note: See TracBrowser
for help on using the browser.
