Lines Matching refs:first
27 array_unshift($flags, 'link'); // always make the first header of a blog entry a permalink (unless nolink is set)
53 $first = $INPUT->int('first');
54 if (!is_numeric($first)) $first = 0;
90 $isMore = count($entries) > ($first + $num);
91 $entries = array_slice($entries, $first, $num);
146 if ($pagingcontrols) $renderer->doc .= $this->_browseEntriesLinks($isMore, $first, $num);
163 * @param $first
167 function _browseEntriesLinks($more, $first, $num) {
171 $last = $first+$num;
172 if ($first > 0) {
173 $first -= $num;
174 if ($first < 0) $first = 0;
175 $ret .= '<p class="centeralign">'.DOKU_LF.'<a href="'.wl($ID, 'first='.$first).'"'.
183 $ret .= '<a href="'.wl($ID, 'first='.$last).'" class="wikilink1">'.