function Pagination::getPageCount in Pagination (Node) 6
Same name and namespace in other branches
- 7 includes/Pagination.inc \Pagination::getPageCount()
@desc Get page count
Return value
int total page count @public
1 call to Pagination::getPageCount()
- Pagination::getPager in ./
pagination.module - @desc Get a themed pager (Drupal default)
File
- ./
pagination.module, line 595 - pagination.module @desc Allow for arbitrary nodes to be paginated. administrators can set which nodes they wish to paginate, and the length of content required to split a node into pages. Alternatively, content creators can set manual break points…
Class
- Pagination
- @desc Handles all the pagination logic
Code
function getPageCount() {
return count($this->page);
}