ci4
1<?php
2
3namespace Config;
4
5use CodeIgniter\Config\BaseConfig;
6
7class 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*/
23public 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*/
36public int $perPage = 20;
37}
38