quocvuongdn

#codeigniter #bulma css pagination config

Jul 28th, 2016
126
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.87 KB | None | 0 0
  1. <?php
  2. $config['use_page_numbers'] = TRUE;
  3. $config['total_rows'] = 100;
  4. $config['per_page'] = 10;
  5. $config['uri_segment'] = 3;
  6. $config['num_links'] = 3;
  7. $config['full_tag_open'] = '<nav class="pagination is-pulled-right"><ul>';
  8. $config['full_tag_close'] = '</ul></nav>';
  9. $config['first_link'] = 'First';
  10. $config['first_tag_open'] = '';
  11. $config['first_tag_close'] = '';
  12. $config['last_link'] = 'Last';
  13. $config['last_tag_open'] = '';
  14. $config['last_tag_close'] = '';
  15. $config['next_link'] = '&gt;';
  16. $config['next_tag_open'] = '';
  17. $config['next_tag_close'] = '';
  18. $config['prev_link'] = '&lt;';
  19. $config['prev_tag_open'] = '';
  20. $config['prev_tag_close'] = '';
  21. $config['cur_tag_open'] = '<li><a class="button is-primary">';
  22. $config['cur_tag_close'] = '</a></li>';
  23. $config['num_tag_open'] = '<li>';
  24. $config['num_tag_close'] = '</li>';
  25. $config['_attributes'] = 'class="button"';
Advertisement
Add Comment
Please, Sign In to add comment