Property | Type | Description | |
---|---|---|---|
$count | integer | ||
$currentPage | integer | ||
$elementsPerPage | integer | ||
$pageParam | string | ||
$totalElements | integer | ||
$totalPages | integer |
Method | Description | |
---|---|---|
__construct ( integer $elementsPerPage, integer $totalElements, $pageParam ) | Constructor | |
getCount ( ) : integer | Get the count. | |
getCurrentPage ( ) : integer | Get the current page. | |
getLastPage ( ) : integer | Get the last page. | |
getPerPage ( ) : integer | Get the number per page. | |
getTotal ( ) : integer | Get the total. | |
getUrl ( integer $page ) : string | Get the url for the given page. | |
setCount ( integer $count ) | Sets the count. |
Method | Description | |
---|---|---|
_getCurrentPage ( ) : integer | Determines the current page. |
public __construct ( integer $elementsPerPage, integer $totalElements, $pageParam ) | ||
$elementsPerPage | integer | |
$totalElements | integer |
public getCurrentPage ( ) : integer | ||
return | integer |