Calculating query offset this way is just a tad shorter.
[kohana-pagination.git] / config / pagination.php
blobf1b75ef8d971f380fc29d2a6f6832d91f8997010
1 <?php defined('SYSPATH') or die('No direct script access.');
3 return array(
5 // Application defaults
6 'default' => array(
7 'current_page' => array('source' => 'query_string', 'key' => 'page'), // source: "query_string" or "route"
8 'total_items' => 0,
9 'items_per_page' => 10,
10 'view' => 'pagination/basic',
11 'auto_hide' => TRUE,