You are here

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

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

Return the pagination value currently being used.

Parameters

$type: The node type. @return The pagination value the node type is using.

File

includes/Pagination.inc, line 88

Class

Pagination
Handles all the pagination logic

Code

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