function theme_finder_view in Finder 6
Same name in this branch
- 6 includes/finder.inc \theme_finder_view()
- 6 includes/finder.theme.inc \theme_finder_view()
Same name and namespace in other branches
- 7 includes/finder.theme.inc \theme_finder_view()
Theme the finder.
$output_array contains themed output of various items to put on the page, such as the Finder form, and the results output. The implode is a quick way to put all of these together, but you may choose to be more specific about how to do this.
Parameters
$finder: The finder object.
$display: The type of display ('page', 'block', or 'ahah').
$output_array: A associative array of all the themed 'pieces' to put in the output.
1 theme call to theme_finder_view()
- finder_view in ./
finder.module - Generate display of a given finder.
File
- includes/
finder.theme.inc, line 138 - Theme functions for the finder module.
Code
function theme_finder_view($finder, $display, $output_array) {
drupal_add_css(drupal_get_path('module', 'finder') . '/finder.css');
$output = '<div class="finder-view-' . $finder->finder_id . ' finder-view">';
if ($display == 'ahah') {
$output .= theme('status_messages');
}
$output .= implode('', $output_array);
$output .= '</div>';
return $output;
}