You are here

function Pagination::getPage in Pagination (Node) 6

Same name and namespace in other branches
  1. 7 includes/Pagination.inc \Pagination::getPage()

@desc Get page section

Parameters

int current page: @return string page section @public

File

./pagination.module, line 605
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 getPage($page) {
  $section = isset($this->page[$page]) ? $this->page[$page] : '';
  return $section;
}