Lines Matching refs:num
62 * @param null|int $num
65 function td($id, $num = null) { argument
68 if (!isset($num)) {
72 $num = $comments['number'];
73 if ((!$comments['status']) || (($comments['status'] == 2) && (!$num))) return '';
76 if ($num == 0) {
78 } elseif ($num == 1) {
81 $comment = $num.' '.$this->getLang('comments');
93 * @param null|int $num
97 function getThreads($ns, $num = null, $skipEmpty = false) { argument
146 if (is_numeric($num)) $result = array_slice($result, 0, $num);
156 * @param int|null $num
159 function getComments($ns, $num = NULL) { argument
165 if ((!$num) || (!is_numeric($num))) $num = $conf['recent'];
185 if ($count >= $num) break;