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
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     */
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        'bootstrap_full' => 'app/Views/pagination/bootstrap_full.php',
28    ];
29
30    /**
31     * --------------------------------------------------------------------------
32     * Items Per Page
33     * --------------------------------------------------------------------------
34     *
35     * The default number of results shown in a single page.
36     */
37    public int $perPage = 10;
38}