Class joosPager
Работа с постраничной навигацией
Category:
Libraries
Copyright: (C) 2007-2012 Joostina Team
Copyright: Copyright © 2009 Leng Sheng Hong
License: License http://www.opensource.org/licenses/mit-license.php Информация об авторах и лицензиях стороннего кода в составе Joostina CMS: docs/copyrights
License: http://www.doophp.com/license
Author: Joostina Team <info@joostina.ru>
Author: Leng Sheng Hong <darkredz@gmail.com>
Version: 1.0
Link: http://www.doophp.com/
Todo: переписать joosPager на joosRoute и привести к общему виду
Located at: core/libraries/pager.php
Copyright: (C) 2007-2012 Joostina Team
Copyright: Copyright © 2009 Leng Sheng Hong
License: License http://www.opensource.org/licenses/mit-license.php Информация об авторах и лицензиях стороннего кода в составе Joostina CMS: docs/copyrights
License: http://www.doophp.com/license
Author: Joostina Team <info@joostina.ru>
Author: Leng Sheng Hong <darkredz@gmail.com>
Version: 1.0
Link: http://www.doophp.com/
Todo: переписать joosPager на joosRoute и привести к общему виду
Located at: core/libraries/pager.php
Methods summary
public
|
#
__construct( $base_url = '', $total_items = 120, $item_per_page = 10, $max_length = 11, $extra_url = '' )
|
public
|
Properties summary
public
array
|
$components |
|
#
Contain the list of components to be used in view. (pages, jump menu, page_size, current_page, total_page) |
public
integer
|
$item_per_page | 10 |
#
Items to be displayed per page |
public
integer
|
$current_page | 1 |
#
The current page number |
public
integer
|
$max_length | 10 |
#
Maximum Pager length |
public
integer
|
$total_item |
|
#
Total items to be split in the pagination |
public
integer
|
$total_page |
|
#
Total pages in the pagination |
public
string
|
$output |
|
#
The pages HTML output |
public
string
|
$base_url |
|
#
The URL prefix for all the pagination links |
public
string
|
$low |
|
#
Position of the record to begin the pagination LIMIT query |
public
string
|
$high |
|
#
Position of the record to end the pagination LIMIT query |
public
string
|
$limit |
|
#
To be use with the pagination LIMIT query LIMIT $limit |
public
|
$offset |
|