Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

2 anos atrás
123456789101112131415161718192021222324252627282930313233343536373839
  1. <?php
  2. namespace Config;
  3. use CodeIgniter\Config\BaseConfig;
  4. class Pager extends BaseConfig
  5. {
  6. /**
  7. * --------------------------------------------------------------------------
  8. * Templates
  9. * --------------------------------------------------------------------------
  10. *
  11. * Pagination links are rendered out using views to configure their
  12. * appearance. This array contains aliases and the view names to
  13. * use when rendering the links.
  14. *
  15. * Within each view, the Pager object will be available as $pager,
  16. * and the desired group as $pagerGroup;
  17. *
  18. * @var array<string, string>
  19. */
  20. public $templates = [
  21. 'default_full' => 'CodeIgniter\Pager\Views\default_full',
  22. 'default_simple' => 'CodeIgniter\Pager\Views\default_simple',
  23. 'default_head' => 'CodeIgniter\Pager\Views\default_head',
  24. ];
  25. /**
  26. * --------------------------------------------------------------------------
  27. * Items Per Page
  28. * --------------------------------------------------------------------------
  29. *
  30. * The default number of results shown in a single page.
  31. *
  32. * @var int
  33. */
  34. public $perPage = 20;
  35. }