/
RybakovAV
/
TestProject
Обзор
Документация
Войти
/
RybakovAV
/
TestProject
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
src/app/Config/Pager.php
37 строк
1 KB
Alex Rybakov
Установил Ci4
03 мар 2026, 09:41
03 мар 2026, 09:41
52d9d50
Код
Авторство
О чём код?
<?php namespace Config; use CodeIgniter\Config\BaseConfig; class Pager extends BaseConfig { /** * -------------------------------------------------------------------------- * 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; * * @var array<string, string> */ public array $templates = [ 'default_full' => 'CodeIgniter\Pager\Views\default_full', 'default_simple' => 'CodeIgniter\Pager\Views\default_simple', 'default_head' => 'CodeIgniter\Pager\Views\default_head', ]; /** * -------------------------------------------------------------------------- * Items Per Page * -------------------------------------------------------------------------- * * The default number of results shown in a single page. */ public int $perPage = 20; }