Constructor method
__construct
()
Enable counters
enableCounters
()
Return the total count of records
getCount
()
Returns the limit of records
getLimit
()
Returns the current page
getPage
()
Define the PageNavigation action
setAction
($action)
-
$action: TAction object (fired when the user navigates)
Define the total count of records
setCount
($count)
-
$count: An integer (the total count of records)
Define the ordering
setDirection
($direction)
Define the first page
setFirstPage
($first_page)
-
$first_page: An integer (the first page)
Set the Amount of displayed records
setLimit
($limit)
Define the ordering
setOrder
($order)
-
$order: A string containint the column name
Define the current page
setPage
($page)
-
$page: An integer (the current page)
Set the page navigation properties
setProperties
($properties)
-
$properties: array of properties
Define the PageNavigation's width
setWidth
($width)
-
$width: PageNavigation's width
Show the PageNavigation widget
show
()