mirror of
https://code.castopod.org/adaures/castopod.git
synced 2024-09-10 12:39:38 +02:00
- add .editorconfig file - format all files to comply with castopod's coding style - switch parsedown dependency with commonmark library to better follow commonmark spec for markdown - add prettier command to format all project files at once closes #16
38 lines
1.1 KiB
PHP
38 lines
1.1 KiB
PHP
<?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;
|
|
|
|
|
*/
|
|
public $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 $perPage = 20;
|
|
}
|