Merge branch 'maint/7.0'
[ninja.git] / system / config / pagination.php
blob808fc315a1c9ec58772ed8b23c2d766cc0f66d62
1 <?php defined('SYSPATH') OR die('No direct access allowed.');
2 /**
3 * @package Pagination
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.
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
17 $config['default'] = array
19 'directory' => 'pagination',
20 'style' => 'classic',
21 'uri_segment' => 3,
22 'query_string' => '',
23 'items_per_page' => 20,
24 'auto_hide' => FALSE,