Lines Matching defs:first
41 * Get revisions, and set correct pagination parameters (first, hasNext)
43 * @param int $first
48 protected function getRevisions(&$first, &$hasNext)
64 $revlist = $changelog->getRevisions($first, $num + 1);
65 if (count($revlist) == 0 && $first > -1) {
66 // resets to zero if $first requested a too high number
67 $first = -1;
68 return $this->getRevisions($first, $hasNext);
88 * @param int $first
93 protected function navigation($first, $hasNext, $callback)
98 $last = $first + $conf['recent'];
99 if ($first > -1) {
100 $first = max($first - $conf['recent'], -1);
102 $html .= html_btn('newer', $this->id, "p", $callback($first));