Lines Matching refs:first
54 $first = $_REQUEST['first'];
55 if (!is_numeric($first)) $first = 0;
63 $more = ((count($threads) > ($first + $num)) ? true : false);
64 $threads = array_slice($threads, $first, $num);
81 $this->_browseDiscussionLinks($more, $first, $num);
304 * @param int $first
308 function _browseDiscussionLinks($more, $first, $num) { argument
311 if (($first == 0) && (!$more)) return true;
314 $last = $first+$num;
317 if ($first > 0) {
318 $first -= $num;
319 if ($first < 0) {
320 $first = 0;
322 $params['first'] = $first;