mirror of
https://code.castopod.org/adaures/castopod
synced 2025-04-23 01:01:20 +00:00

- add james-heinrich/getid3 library as a dependency to composer.json - update DEPENDENCIES.md file - fix episodes table migration script - add js devDependencies: prettier, @prettier/plugin-php and lint-staged to automatically format staged files before commit - reformat all files to the prettier format - refactor code by separating some logic as helper functions - overwrite existing files when uploading new files with the same name fixes #1
36 lines
1.0 KiB
PHP
36 lines
1.0 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;
|
|
}
|