Lines Matching refs:count
24 // returns first $count letters from $text in lowercase
52 final public function renderAsHtml(string $layout, $sorted_results, $opt, $count)
54 $this->snippet_cnt = $opt['snippet']['count'];
56 return $this->$render_type($sorted_results, $opt, $count);
74 if (count($tokens) == 1) {
367 private function first(string $text, $count): string
369 return ($count > 0) ? PhpString::substr(PhpString::strtolower($text), 0, $count) : '';
489 if (count($pages) > 0) {
716 $level = count($group_opts['key']) - 1;
761 for ($i = 0, $iMax = count($cur_ns); $i < $iMax; $i++) {
789 * @param int $count => count of results
792 protected function renderAsHtmltable($sorted_results, $opt, $count): string
829 $render .= '<div class="count">' . $count . '</div>' . DOKU_LF;
1049 if ($cnt > 0 && $cnt <= count($words) && $words[$cnt - 1] !== '.') {
1057 if ($cnt > 0 && $cnt < count($lines)) {
1075 * @param int $count => count of results
1079 protected function renderAsHtmlcolumn(array $sorted_results, array $opt, int $count): string
1090 $show_count = ($opt['showcount'] === true) ? '<div class="count">' . $count . ' ∞</div>' . DOKU_LF : '';