You are here

function theme_finder_search_results in Finder 6

Same name and namespace in other branches
  1. 7 modules/finder_search/finder_search.module \theme_finder_search_results()

Theme search results for finder.

Parameters

$results: An array of result objects.

$finder: The finder object.

$form_state: The Forms API form state.

$no_results: The output to show when there are no results.

1 theme call to theme_finder_search_results()
finder_search_preprocess_finder_results in modules/finder_search/finder_search.module
Intervene before theme function.

File

modules/finder_search/finder_search.module, line 148
The finder search module.

Code

function theme_finder_search_results($results, $finder, $form_state, $no_results) {
  $output = '';
  if ($results) {
    $output .= finder_search_get_themed_results($results);
  }
  else {
    $output .= $no_results;
  }
  return $output;
}