2020-05-27 18:46:16 +02:00
|
|
|
<?php namespace Config;
|
|
|
|
|
|
|
|
use CodeIgniter\Config\BaseConfig;
|
|
|
|
|
|
|
|
class Pager extends BaseConfig
|
|
|
|
{
|
2020-06-10 15:00:12 +00:00
|
|
|
/*
|
2020-05-27 18:46:16 +02:00
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
| Templates
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
| Pagination links are rendered out using views to configure their
|
|
|
|
| appearance. This array contains aliases and the view names to
|
|
|
|
| use when rendering the links.
|
|
|
|
|
|
|
|
|
| Within each view, the Pager object will be available as $pager,
|
|
|
|
| and the desired group as $pagerGroup;
|
|
|
|
|
|
|
|
|
*/
|
2020-06-10 15:00:12 +00:00
|
|
|
public $templates = [
|
|
|
|
'default_full' => 'CodeIgniter\Pager\Views\default_full',
|
|
|
|
'default_simple' => 'CodeIgniter\Pager\Views\default_simple',
|
|
|
|
'default_head' => 'CodeIgniter\Pager\Views\default_head',
|
|
|
|
];
|
2020-05-27 18:46:16 +02:00
|
|
|
|
2020-06-10 15:00:12 +00:00
|
|
|
/*
|
2020-05-27 18:46:16 +02:00
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
| Items Per Page
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
| The default number of results shown in a single page.
|
|
|
|
|
|
|
|
|
*/
|
2020-06-10 15:00:12 +00:00
|
|
|
public $perPage = 20;
|
2020-05-27 18:46:16 +02:00
|
|
|
}
|