public function FacetapiAdapter::getPageNumber in Facet API 7
Same name and namespace in other branches
- 6.3 plugins/facetapi/adapter.inc \FacetapiAdapter::getPageNumber()
- 7.2 plugins/facetapi/adapter.inc \FacetapiAdapter::getPageNumber()
Returns the page number of the search result set.
Return value
int The current page of the result set.
File
- plugins/
facetapi/ adapter.inc, line 584 - Adapter plugin and adapter related classes.
Class
- FacetapiAdapter
- Abstract class extended by Facet API adapters.
Code
public function getPageNumber() {
return pager_find_page() + 1;
}