2 // $Id: views_plugin_row_search_view.inc,v 1.1 2008/09/03 19:21:30 merlinofchaos Exp $
5 * Contains the search row style plugin.
9 * Plugin which performs a node_view on the resulting object.
11 class views_plugin_row_search_view extends views_plugin_row {
12 function option_definition() {
13 $options = parent::option_definition();
15 $options['score'] = array('default' => TRUE);
20 function options_form(&$form, &$form_state) {
21 $form['score'] = array(
22 '#type' => 'checkbox',
23 '#title' => t('Display score'),
24 '#default_value' => $this->options['score'],
29 * Override the behavior of the render() function.
31 function render($row) {
32 return theme($this->theme_functions(), $this->view, $this->options, $row);