function SearchAutocompleteViewsPluginStyle::render in Search Autocomplete 7.4
Render the display in this style.
Overrides views_plugin_style::render
File
- views/
plugins/ search_autocomplete.views_plugin_style.inc, line 84 - Implements views_plugin_style for search_autocomplete
Class
- SearchAutocompleteViewsPluginStyle
- Implements views_plugin_style
Code
function render() {
$view = $this->view;
$options = $this->options;
$rows = array();
foreach ($view->result as $count => $row) {
$view->row_index = $count;
$rows[] = _search_autocomplete_render_fields($view, $row);
}
unset($view->row_index);
return theme($this
->theme_functions(), array(
'view' => $view,
'options' => $options,
'rows' => $rows,
));
}