public function Pagination::getPage in Pagination (Node) 7
Same name and namespace in other branches
- 6 pagination.module \Pagination::getPage()
Return the content of the page by page number.
Parameters
$page: The page number to return content for.
Return value
The content of the page.
File
- includes/
Pagination.inc, line 146
Class
- Pagination
- Handles all the pagination logic
Code
public function getPage($page) {
$section = isset($this->page[$page]) ? $this->page[$page] : '';
return $section;
}