| Code Coverage
| Lines | Functions and Methods | Classes and Traits
Total |  | n/a | 0 / 0 |  | n/a | 0 / 0 | CRAP |  | n/a | 0 / 0
Pager |  | n/a | 0 / 0 |  | n/a | 0 / 0 | 0 |  | n/a | 0 / 0

1 | <?php
2 |
3 | namespace Config;
4 |
5 | use CodeIgniter\Config\BaseConfig;
6 |
7 | class Pager extends BaseConfig
8 | {
9 | /**
10 | * --------------------------------------------------------------------------
11 | * Templates
12 | * --------------------------------------------------------------------------
13 | *
14 | * Pagination links are rendered out using views to configure their
15 | * appearance. This array contains aliases and the view names to
16 | * use when rendering the links.
17 | *
18 | * Within each view, the Pager object will be available as $pager,
19 | * and the desired group as $pagerGroup;
20 | *
21 | * @var array<string, string>
22 | */
23 | public array $templates = [
24 | 'default_full' => 'CodeIgniter\Pager\Views\default_full',
25 | 'default_simple' => 'CodeIgniter\Pager\Views\default_simple',
26 | 'default_head' => 'CodeIgniter\Pager\Views\default_head',
27 | ];
28 |
29 | /**
30 | * --------------------------------------------------------------------------
31 | * Items Per Page
32 | * --------------------------------------------------------------------------
33 | *
34 | * The default number of results shown in a single page.
35 | */
36 | public int $perPage = 20;
37 | }