Summary
- File
- Package hierarchy Util\Pagination
- Class hierarchy \Pagination
__construct( $nb_pages, $current_page, $type = self::FULL_PAGINATION)
$nb_pages | ||
$current_page | ||
$type |
None found |
set_url_sprintf_pattern( $url_pattern)
$url_pattern |
None found |
set_url_builder_callback( $callback)
$callback |
None found |
set_before_links_nb( $value)
$value |
None found |
set_after_links_nb( $value)
$value |
None found |
export()
None found |
get_number_pages()
None found |
init_tpl( $type)
$type |
None found |
generate_first_page_pagination()
None found |
generate_near_pages_pagination()
None found |
generate_last_page_pagination()
None found |
add_pagination_page( $name, $page_number, $is_current_page = false)
$name | ||
$page_number | ||
$is_current_page |
None found |
get_url( $page_number)
$page_number |
None found |
$tpl :
None found |
$nb_pages :
None found |
$current_page :
None found |
$url_pattern :
None found |
$url_builder_callback :
None found |
$before_links_nb :
None found |
$after_links_nb :
None found |
LINKS_NB = 3
None found |
FIRST_LINK = 'first-page'
None found |
PREV_LINK = 'prev-page'
None found |
NEXT_LINK = 'next-page'
None found |
LAST_LINK = 'last-page'
None found |
LIGHT_PAGINATION = 'light'
None found |
FULL_PAGINATION = 'full'
None found |