Advertisement
Guest User

FuelPHP & Twitter Bootstrap Pagination

a guest
Sep 13th, 2012
339
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.75 KB | None | 0 0
  1. Pagination::set_config(array(
  2.     'pagination_url' => 'you',
  3.     'total_items' => 100,
  4.     'per_page' => 20,
  5.     'uri_segment' => 2,
  6.     'template' => array(
  7.         'page_start'              => '',
  8.         'page_end'                => '',
  9.         'previous_start'          => '<li>',
  10.         'previous_end'            => '</li>',
  11.         'previous_inactive_start' => '<li class="disabled">',
  12.         'previous_inactive_end'   => '</li>',
  13.         'next_start'              => '<li>',
  14.         'next_end'                => '</li>',
  15.         'next_inactive_start'     => '<li class="disabled">',
  16.         'next_inactive_end'       => '</li>',
  17.         'active_start'            => '<li class="active">',
  18.         'active_end'              => '</li>',
  19.         'regular_start'           => '<li>',
  20.         'regular_end'             => '</li>',
  21.     ),
  22. ));
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement