Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

pirms 2 gadiem
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. }