You are here

function Pagination::getStyle in Pagination (Node) 6

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

@desc Get pagination style

Parameters

string node type: @return int pagination style @public

File

./pagination.module, line 549
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 getStyle($type) {
  $this->style = $this
    ->getSettings('style', $type);
  return $this->style;
}