Class flWidgetPagination
flWidgetPagination Class
Class to generate a page selection widget.
Package: fusionLib
Copyright: Copyright (c) 2008 - 2013 fusionLib. All rights reserved.
Located at system/libs/Widget/flWidgetPagination.php
Copyright: Copyright (c) 2008 - 2013 fusionLib. All rights reserved.
Located at system/libs/Widget/flWidgetPagination.php
Methods summary
public
|
#
__construct( integer $page, integer $totalRows, integer $rowsPerPage = 20, integer $range = 5 )
Construct a new object. |
public
|
#
setRoute(
Set the route object used for building the URIs. |
public
|
#
setURI( string $uri, array $baseParams, string $pageParamName = 'page' )
Set the URI and parameters to use for building the URIs. |
public
|
|
public
string
|
|
protected
string
|
|
public
integer
|
|
public
integer
|
|
public
integer
|
|
public
integer
|
|
public
|
Properties summary
protected
boolean
|
$withPage0ID
Flags if the page ID should be included for page 0 |
#
false
|
protected
|
$route
The route to use. |
#
null
|
protected
string
|
$uri
The URI of the page if not using a flRouterRoute object. |
#
null
|
protected
array
|
$baseParams
Array of base parameters. |
#
array()
|
protected
string
|
$pageParamName
The name of the parameter holding the page number. |
#
'page'
|
protected
null
|
$marker
The page number marker. |
#
null
|
protected
string
|
$css
The CSS class to apply to the table. |
#
'paginationwidget'
|
protected
array
|
$parameters
Paramters to append to uri when using routes |
#
''
|