function views_plugin_style_autocomplete::render in Search Autocomplete 7.3
Implements view_style_plugin::render()
Overrides views_plugin_style::render
File
- views/
plugins/ views_plugin_style_autocomplete.inc, line 47 - Implements views_plugin_style for search_autocomplete
Class
- views_plugin_style_autocomplete
- Implements views_plugin_style
Code
function render() {
$view = $this->view;
$options = $this->options;
$field = $view->field;
$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,
));
}