|
wCMF
3.6
|
Public Member Functions | |
| PagingInfo ($pageSize) | |
| setTotalCount ($totalCount) | |
| getTotalCount () | |
| setPage ($page) | |
| getPage () | |
| getPageSize () | |
| getPageCount () | |
| setIndex ($index) | |
| getIndex () | |
| isOnFirstPage () | |
| isOnLastPage () | |
Public Attributes | |
| $_pageSize = 10 | |
| $_index = 0 | |
| $_totalCount = 0 | |
PagingInfo contains information about a paged list.
wCMF - wemove Content Management Framework Copyright (C) 2005-2014 wemove digital solutions GmbH
Licensed under the terms of any of the following licenses at your choice:
See the license.txt file distributed with this work for additional information.
Definition at line 27 of file class.PagingInfo.php.
| PagingInfo::PagingInfo | ( | $pageSize | ) |
Creates a PagingInfo object.
| pageSize | The pageSize (-1 to set no page size) |
Definition at line 37 of file class.PagingInfo.php.
| PagingInfo::setTotalCount | ( | $totalCount | ) |
Set the number of list items.
| totalCount | The number of list items. |
Definition at line 46 of file class.PagingInfo.php.
| PagingInfo::getTotalCount | ( | ) |
Get the number of list items.
Definition at line 55 of file class.PagingInfo.php.
References $_totalCount.
| PagingInfo::setPage | ( | $page | ) |
Set the current page (1-based).
| page | The current page. |
Definition at line 64 of file class.PagingInfo.php.
| PagingInfo::getPage | ( | ) |
Get the current page (1-based).
Definition at line 73 of file class.PagingInfo.php.
Referenced by isOnFirstPage(), and isOnLastPage().
| PagingInfo::getPageSize | ( | ) |
Get the size of a pages.
Definition at line 82 of file class.PagingInfo.php.
References $_pageSize.
| PagingInfo::getPageCount | ( | ) |
Get the number of pages.
Definition at line 91 of file class.PagingInfo.php.
Referenced by isOnLastPage().
| PagingInfo::setIndex | ( | $index | ) |
Set the current index (0-based).
| index | The current list index. |
Definition at line 100 of file class.PagingInfo.php.
Referenced by AsyncPagingController\executeKernel().
| PagingInfo::getIndex | ( | ) |
Get the current index (0-based).
Definition at line 108 of file class.PagingInfo.php.
References $_index.
| PagingInfo::isOnFirstPage | ( | ) |
Determine if we are on the first page.
Definition at line 117 of file class.PagingInfo.php.
References getPage().
Here is the call graph for this function:| PagingInfo::isOnLastPage | ( | ) |
Determine if we are on the first page.
Definition at line 126 of file class.PagingInfo.php.
References getPage(), and getPageCount().
Here is the call graph for this function:| PagingInfo::$_pageSize = 10 |
Definition at line 29 of file class.PagingInfo.php.
Referenced by getPageSize().
| PagingInfo::$_index = 0 |
Definition at line 30 of file class.PagingInfo.php.
Referenced by getIndex().
| PagingInfo::$_totalCount = 0 |
Definition at line 31 of file class.PagingInfo.php.
Referenced by getTotalCount().