You are here

public function Pagination::getStyle in Pagination (Node) 7

Same name and namespace in other branches
  1. 6 pagination.module \Pagination::getStyle()

Return the pagination style currently being used.

Parameters

$type: The node type.

Return value

The pagination style the node type is using.

File

includes/Pagination.inc, line 73

Class

Pagination
Handles all the pagination logic

Code

public function getStyle($type) {
  $this->style = $this
    ->getSettings('style', $type);
  return $this->style;
}